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

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

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,122,356
Messages
5,595,681
Members
414,009
Latest member
SNesbyCarr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top