Jump to content
Macro Express Forums

Sub with parameters


Recommended Posts

Not exactly. What I do is to create macros as subroutines but you can't pass parameters like a normal program. So I use variables that are scoped properly. If you notice when you define a variable there's an option for it to be available to sub-macros. I found scope in MEP to be confusing so I wrote this page to explain it. 

You can also use some other mechanism like the registry. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...