bodajmac Posted November 30, 2006 Report Share Posted November 30, 2006 hi all, am very new to ME so please forgive me if i'm missing something really obvious. i've got the following macro section which throws up an error about there being a missing end if statement when it executes, but i can't see anything wrong with it and no syntax errors are reported when i check. variable %N1% has been set immediately prior to this section. any help greatly appreciated! If Message: "Confirm Item Creation?" Repeat Until %N1% = %N2% Delay 2 Seconds Get Control %C10% (View Holdings Record: TButton) Mouse Single Left Click on Control %C10% Delay 2 Seconds Get Control %C13% (: TEdit) Text Type:ON ORDER Delay 4 Seconds Get Control %C11% (Item Information: TButton) Mouse Single Left Click on Control %C11% Delay 2 Seconds Variable Modify Integer: Inc (%N2%) Repeat End Text Box Display: Item Creation Complete! Else Macro Stop End If Quote Link to comment Share on other sites More sharing options...
kevin Posted November 30, 2006 Report Share Posted November 30, 2006 I entered the section of the macro you showed into a new macro. There are no 'missing end if' warning messages. I suspect that the missing end if is from another part of your macro. Quote Link to comment Share on other sites More sharing options...
bodajmac Posted December 1, 2006 Author Report Share Posted December 1, 2006 fair enough - thanks for checking. couldn't find the source of the problem so went back and did what i wanted to do another way cheers! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.