gh4
XLDnaute Occasionnel
bonjour
voila je peine a trouver quand ajouter 2 autres boutons a cette macro
Dim nouv As Object
Private Sub Workbook_Activate()
Set nouv = Application.CommandBars("Worksheet Menu Bar").Controls.Add
With nouv
.Style = msoButtonCaption
.Caption = "Pres"
.OnAction = "pres"
.FaceId = 24
.TooltipText = "Liste Pres" 'texte au passage souris
.Width = 100 'largeur
.Height = 20 'longueur
End With
end sub
merci bcp pour votre aide
voila je peine a trouver quand ajouter 2 autres boutons a cette macro
Dim nouv As Object
Private Sub Workbook_Activate()
Set nouv = Application.CommandBars("Worksheet Menu Bar").Controls.Add
With nouv
.Style = msoButtonCaption
.Caption = "Pres"
.OnAction = "pres"
.FaceId = 24
.TooltipText = "Liste Pres" 'texte au passage souris
.Width = 100 'largeur
.Height = 20 'longueur
End With
end sub
merci bcp pour votre aide