ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Where does an "On error resume next" statement apply? (https://www.excelbanter.com/excel-programming/378872-where-does-error-resume-next-statement-apply.html)

davegb

Where does an "On error resume next" statement apply?
 
If I put an "On error resume next" command in a macro, and it's in a
sub called from another sub, does it end when the sub it was in ends,
or does it still apply back in the parent sub?

TIA


Chip Pearson

Where does an "On error resume next" statement apply?
 
See http://www.cpearson.com/excel/ErrorHandling.htm for an in depth
discussion of error handling.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)


"davegb" wrote in message
ups.com...
If I put an "On error resume next" command in a macro, and it's in a
sub called from another sub, does it end when the sub it was in ends,
or does it still apply back in the parent sub?

TIA





All times are GMT +1. The time now is 11:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com