Question

I am making add in toolbar and want to display button as text. Any suggestions?

With oButton2
    .DescriptionText = "This is my first button"
    .Caption = "Bullets"
    .OnAction = "Button2"
    .Style = msoButtonIcon
    .FaceId = 55 'chooses icon #55 from the available Office icons
End With
Était-ce utile?

La solution

Change the .Style bit to this

.Style = msoButtonCaption
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top