![]() |
Break out of Code
Terry,
Use Exit Sub. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Terry" wrote in message ... How do I code a macro to Stop mid-way under a certain situation. Ie... If <This Happens Then Abort the rest of the macro End IF I hope this makes sense. I want to know the vb code similar to "break" Terry |
All times are GMT +1. The time now is 06:48 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com