Jump to content
Macro Express Forums

Get macro to start back from start


koden

Recommended Posts

Hi forum

 

Is there a command that can go back and start macro again IF something is true in a IF command.

 

Like

 

IF T7 = 2

then open notepad and set the number 2

and start macro over again

 

andif T7 is anything else just resume macro as intended

 

Hope this is to understand.

 

maybe my way to do the check is wrong and I can off course explain it more detailed.

Link to comment
Share on other sites

If you are still using an old version of ME, without GOTO, perhaps you could put the whole macro (or the portion where you want to start over) in a Repeat loop.

For example,

SET T99 = "GO"

REPEAT UNTIL T99 = "STOP"

....

....

IF T7 = 2

then open notepad and set the number 2

   ELSE

SET T99 = "STOP"

END IF

END REPEAT

 

MACRO END

 

Link to comment
Share on other sites

  • 2 weeks later...

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