Jump to content
Macro Express Forums

Return From An If?


Wulfgar

Recommended Posts

Hi folks,

 

I'm sure this one is easy, but it's one of those can't-see-the-forest-for-the-trees kinda things for me right now.

 

// Write clipboard to T8

// IF T2<>T8

// do this thing

// ELSE T2=T8

// do some other thing

 

If T2 doesn't equal T8, my macro will flip to another screen. On this next screen, I want to perform the comparison again. It will in fact continue flipping forward until T2=T8.

 

After flipping forward, how do I get the macro to go back and compare again? Will it just be another IF statement? Or is there some kind of RETURN statement that can go back?

 

Now that I look at it in another light, I could do another IF statement. But that's not so elegant. Is another IF my best shot?

 

As always, you folks rock. I wish I could give more info than I take, but maybe, with 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...