1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| With Application.CommandBars(1).Controls.Add(msoControlPopup, before:=10)
.Caption = "NomMenu"
With .Controls.Add(msoControlPopup)
.Caption = "N1"
With .Controls.Add(msoControlButton)
.Caption = "N11"
.OnAction = "N11"
End With
With .Controls.Add(msoControlButton)
.Caption = "N12"
.OnAction = "N12"
End With
With .Controls.Add(msoControlButton)
.Caption = "N13"
.OnAction = "N13"
End With
End With
With .Controls.Add(msoControlButton)
.Caption = "Delete"
.OnAction = "RemoveMe"
End With
With .Controls.Add(msoControlButton)
.Caption = "About"
.OnAction = "AboutForm"
End With
End With |
Partager