Jump to content
Macro Express Forums

Redunant


Amerifax-Bob

Recommended Posts

I have 180 lines of code of which 7 line appear 15 times. In other words I have 7 contiguious lines of code that are in the macro 15 times. Is there a way to make a refference to just the 7 lines with a short one line code. I believe that the Macro Run, page 186, would do it. I just am not sure if a speed increase would happen.

 

Bob

Link to comment
Share on other sites

The Macro Run command is what you want. It works like a subroutine call. Just place those seven lines of code within a new macro and call it.

 

It will not increase the speed the speed of your macro, but neither should you notice a decrease in speed either.

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...