I want to split two words in a commandbarbutton (msoControlButton) caption to be on two lines. I tried this:
Set tlbSpell = Bar620.Controls.Add(msoControlButton)
tlbSpell.Style = msoButtonWrapCaption
tlbSpell.Caption = "Spell" & Chr(13) & "Check"
tlbSpell.OnAction = "RunSpellCheck"
but it did not work. How do I get Spell Check to show up with the word 'Check' under the word 'Spell'?
Set tlbSpell = Bar620.Controls.Add(msoControlButton)
tlbSpell.Style = msoButtonWrapCaption
tlbSpell.Caption = "Spell" & Chr(13) & "Check"
tlbSpell.OnAction = "RunSpellCheck"
but it did not work. How do I get Spell Check to show up with the word 'Check' under the word 'Spell'?