Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code to stop an Excel macro

Status
Not open for further replies.

davidandrews8

Technical User
Mar 9, 2001
5
GB
Could anyone tell me the line of code i would need in my Excel macro to stop the macro from my if statement.
 
exit sub --

that's how you can do it with code -- and the pause/break key will do it without code. ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top