on error resume next

Cath

Board Regular
Joined
Aug 10, 2005
Messages
156
Just a quickie

Does anyone know please

Does "on error resume next" ONLY apply to the lines after it and within the sub it is written??

Someone suggested it might carry on to the next sub?

Thanks

Cath
 

Some videos you may like

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Justinlabenne

Well-known Member
Joined
Jun 12, 2004
Messages
957
If you call another sub-procedure that does not contain it's own error-handler then that sub will use the calling procedures error-handler... so depending on how your procedure is structured it can be yes and no.
 

Cath

Board Regular
Joined
Aug 10, 2005
Messages
156
Thanks

No my error handler is within the sub so I think it should all be self contained.

That's all I need to know thankyou

Cath
 

Watch MrExcel Video

Forum statistics

Threads
1,118,812
Messages
5,574,455
Members
412,595
Latest member
slim313
Top