Hi,
I am trying to create a button on a popup form that will start a numbered or bulleted list in a textbox (memo style). Below is the "Onclick" event I have for the button (it sets the focus of the text box first).
Code:
Application.CommandBars.ExecuteMso ("Bullets")
This works only if the form is NOT a popup form as onfocus of the textbox the "bulleted list" button in the ribbon becomes enabled. However, in a popup form, the button is disabled no matter what so an error occurs and no bulleted list. Is there a way to enable the command or make it so I can start a bulleted list when a button is clicked?
And no, I don't want to have a customized ribbon...I'd rather have no ribbon and just the form with a few select commands available as buttons on the form. I've also tried the sendkeys command; it fails.
Thanks for your help.