Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi
All I am adding a new menus in excel. these menus are generated dynamically. there is no fix number of menus. I am generating it using loop. now i want to assign a click event to every menuitem, in termes of VBA for every office.CommandBarButton I have declared one object of this type with withevent keyword. the problem is how do I assign these many menusitems to this withevent object. It is not possible to create that many withevents object dynamically for each menuitem. please send your answers waiting for reply regards Amod |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding dates to events | Excel Discussion (Misc queries) | |||
Adding buttons to a new menu bar | Excel Worksheet Functions | |||
Adding a menu | Excel Discussion (Misc queries) | |||
Add list to newly created menu | Excel Discussion (Misc queries) | |||
add list to newly created menu | Excel Worksheet Functions |