Thread: Custom Toolbar
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
GoogleGirl GoogleGirl is offline
external usenet poster
 
Posts: 1
Default Custom Toolbar

am trying to assign a macro to a Button on a custom toolbar.

The following works:


CommandBars("MyCustomToolbar").Controls("Button1") .OnAction = "MyMacro"



But, I can't figure out how to assign a macro to a button on a custom
toolbar that is in a "Group" (or submenu) on the Custom toolbar.


Can you please help?