F
freshforlife
I have defined a commandbar button as follows:
Dim Cbar As CommandBar
Dim Button As CommandBarButton
Set Button = Cbar.Controls.Add(msoControlButton)
With Button
..OnAction = ""
..Caption = "Sending Country"
..Style = msoButtonCaption
..Width = 100
..Enabled = False
..BeginGroup = True
End With
The default color of the caption is grey ( some kind of default
coinciding with the windows color). How do I change that default color
to something like black or something else.
Please help
Dim Cbar As CommandBar
Dim Button As CommandBarButton
Set Button = Cbar.Controls.Add(msoControlButton)
With Button
..OnAction = ""
..Caption = "Sending Country"
..Style = msoButtonCaption
..Width = 100
..Enabled = False
..BeginGroup = True
End With
The default color of the caption is grey ( some kind of default
coinciding with the windows color). How do I change that default color
to something like black or something else.
Please help