auto open et saut de ligne !!

bigs32

XLDnaute Junior
bonjour
j'aimerais savoir comment faire un saut de ligne avec auto_open car le menu long sur une seule ligne ca devient illisible.
merci d'avance
Sub auto_open()
Dim barre As CommandBar
Dim bouton As CommandBarControl
On Error Resume Next
CommandBars("Feuil1").Delete
Set barre = CommandBars.Add(Name:="Feuil1")
barre.Visible = True

Set bouton = CommandBars("Feuil1").Controls.Add(Type:=msoControlButton)
bouton.BeginGroup = True
bouton.Style = msoButtonCaption
bouton.OnAction = "formule_genere"
bouton.Caption = "formule_genere"

Set bouton = CommandBars("Feuil1").Controls.Add(Type:=msoControlButton)
bouton.BeginGroup = True
bouton.Style = msoButtonCaption
bouton.OnAction = "cmd_formule_genere"
bouton.Caption = "cmd_formule_genere"


Set bouton = CommandBars("Feuil1").Controls.Add(Type:=msoControlButton)
bouton.BeginGroup = True
bouton.Style = msoButtonCaption
bouton.OnAction = "activer_filtre"
bouton.Caption = "activer_filtre"

Set bouton = CommandBars("Feuil1").Controls.Add(Type:=msoControlButton)
bouton.BeginGroup = True
bouton.Style = msoButtonCaption
bouton.OnAction = "copie_vers_feuil1"
bouton.Caption = "copie_vers_feuil1"
Set bouton = CommandBars("Feuil1").Controls.Add(Type:=msoControlButton)
bouton.BeginGroup = True
bouton.Style = msoButtonCaption
bouton.OnAction = "couleur_si_qty"
bouton.Caption = "couleur_si_qty"
End Sub
 

Discussions similaires

Statistiques des forums

Discussions
312 429
Messages
2 088 355
Membres
103 826
dernier inscrit
Normand.guillaume@orange.