Jump to content
Macro Express Forums

Macro Loop With Variables


PotterHarry

Recommended Posts

Hi people. Im new and somewhat ignorant of programming. Imagine a 26 line macro, for example labelled A to Z, different letters at the start of each line....

 

How do I start the macro at A with an assigned variable N1, and then let it run to Z where you increment N1 by 1, and then loop back to line B until N1 is say 30 where it quits? Is there an equivalant of the basic command goto?

 

Thanks for your time ...

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