OnAction menu item property coding

  • Thread starter Thread starter levelyn
  • Start date Start date
L

levelyn

Hi again,

Maybe my 1st post could have been more precise. I hope this bette
explains my problem: on the “Tools” menu on the "Worksheet Menu Bar" i
a submenu item with Caption “Mtx Browser’”.

Clicking the menu item “Mtx Browser’” must use its “OnAction” propert
to start and Run the Module(“Module1”) of th
Workbook(“MtxBrTcc1.xls”). Much thanks to someone who provides th
right side of the statement below ...

Workbooks(“MtxBrTcc1.xls”).CommandBar("Worksheet Menu Bar") _
.CommandBarControl(“Tools”) _
.CommandBarControl(“Mtx Browser”) _
.OnAction
 
We do not run a module, we run a subroutine contained in the module. S
the line would be something like :-


Code
 

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

Back
Top