M
Mangesh
I am trying to run a sub menu item from the toolbar through VBA. How
do i do it? Lets say for example, i want to run Data > Sort.
CommandBars("Worksheet Menu Bar").Controls("Data").Index gives me the
index of menu item 'Data'. But how to get the index for Sort.
something like this is what i am looking for, although this is not
valid
CommandBars("Worksheet Menu Bar").Controls("Data").Controls("Sort")
Basically i want to automate one of the submenu actions.
Mangesh
do i do it? Lets say for example, i want to run Data > Sort.
CommandBars("Worksheet Menu Bar").Controls("Data").Index gives me the
index of menu item 'Data'. But how to get the index for Sort.
something like this is what i am looking for, although this is not
valid
CommandBars("Worksheet Menu Bar").Controls("Data").Controls("Sort")
Basically i want to automate one of the submenu actions.
Mangesh