rick Posted October 2, 2009 Report Share Posted October 2, 2009 As you may be aware, the commands in MEP comes with an On Error tab, and the Help says that Halt Macro is the most likely choice/option. With the following: Wait for Key Press: ENTER If I set the "The condition was not met within the specified amount of time" error to Halt Macro, I get a dialog saying there's a Script Error. I can't find anything in the preferences to turn the dialog off completely (there's an option to automatically cancel it). The alternative seems to be to follow the previous code with: On Error Catch Error: The condition was not met within the specified amount of time Macro Stop End Catch Error End Error Is there a better way than dotting code with these On Error - End Error sequences? For example, in Visual Basic (not that I'm any expert), you can put error handlers at the end of the code using Labels, and GoTo after On Error code. Also, can you nest a series of Catch Error commands before an End Catch? TIA Rick Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.