1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| Set ctrl4 = newMenu.Controls.Add(Type:=msoControlPopup)
ctrl4.Caption = "Logistique"
Set ctrl41 = newMenu.Controls.Add(Type:=msoControlPopup)
ctrl41.Caption = "Wk0,+1"
With ctrl41.Controls
Set ctrl411 = .Add(Type:=msoControlButton)
ctrl411.Caption = "UK Compal"
ctrl411.Style = msoButtonCaption
ctrl411.OnAction = "UK_Compal"
End With
With ctrl41.Controls
Set ctrl412 = .Add(Type:=msoControlButton)
ctrl412.Caption = "ME"
ctrl412.Style = msoButtonCaption
ctrl412.OnAction = "MiddleEast"
End With |
Partager