Passing several parameters to OnAction property.

L

LABKHAND

Hi All,

I am trying to pass three parameters to the OnAction property of a menu
Control object. What is the syntax for passing these parameters as part of
the macro name?

I currently have:

With .Controls(Caption)
.OnAction = sMacroName
.Parameter = sParameter
.BeginGroup = bFlagDivider
.Enabled = sFlagEnabled
End with

I have tried the syntax " ' MACRO NAME ""p1string"", 2, ""p2string"" ' "
which is not working and i get a syntax error that the maco does not exist.

Please help.
 

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