call a function with arguments from custom menu

R

Rainer

Hi all

I have a custom toolbar with menus calling vba subs which are stored in the
global.mpt. Some of the subs have parameters. Up to MSP 2003 it was possible
to call such a sub from a menu with the statement

call mySub("myParam")

entered in "Assign Macro..." when customizing menus. This doesn't seem to
work anymore in MSP 2007. If I click on such a custom menu nothing happens.
I can call a sub within global.mpt without arguments with

Macro "myOtherSub"

but how do I do it when I need to pass parameters?

Thanks a lot
Rainer
 
M

Mike Glen

Hi Rainer,

Try posting on the developer newsgroup as this one is closing down. Please
see FAQ Item: 24. Project Newsgroups. FAQs, companion products and other
useful Project information can be seen at this web
address:http://project.mvps.org/faqs.htm .

Mike Glen
Project MVP
 

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