Add Menu Items
Mike,
A good place for this would be the workbook open event:-
For Each menubar In MenuBars
With menubar.Menus("help")
Call .MenuItems.Add("My Text", "Mymacroname")
End With
Next
This simply adds the text "My Text" to the help menu and if the user clicks
it a macro called "Mymacroname" is executed.
Mike
"Mike H." wrote:
Instead of placing buttons on my spreadsheet, I want to add custom menu
options that the user can select to execute my vba code. How is this
possible?
|