Get Menu Bar command option name

  • Thread starter Thread starter Bill
  • Start date Start date
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
 
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
 
Back
Top