Set MyBar1 = CommandBars _
.Add(Name:="_Affichage", Position:=msoBarPopup, Temporary:=False)
With MyBar1
.Controls.Add Type:=msoControlButton
.Controls(1).FaceId = 3456
.Controls(1).OnAction = "standard"
.Controls(1).Caption = "Standard"
.Controls.Add Type:=msoControlButton
.Controls(2).FaceId = 2894
.Controls(2).OnAction = "etendu"
.Controls(2).Caption = "Étendu"
End With
Private Sub Afficher_Click()
CommandBars("_Affichage").ShowPopup
End Sub