Get Menu Bar command option name

B

Bill

I need to determine what menu option a user has clicked on:
EXAMPLE:
Menu Bar Command = Update
Sub Command = Drivers
Sub Command = Vehicles
Sub Command = Customers

I need to capture the name of the "Sub Command" option
that the user clicked on.

Thanks in advance
 
A

Alex Dybenko

you can set On Action property for each menu item to =MyFuncton("Drivers"),
etc
where MyFuncton is a public function with one string argument

so within this function you will get selected item name
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top