VBA Macro ignoring "On Error Resume Next"

MartinLBlood

New Member
Joined
Mar 15, 2011
Messages
3
I have a macro that was running flawlessly until I added some simple code to hide and unhide certain rows. That part of the code works a intended. I have the statement "On error resume next" just before the statement "ActiveSheet.ShowAllData" to skip sheets that don't have filters (I'm looping through several sheets). Could I have messed up the normal macro calculation during the debugging process? I've checked the preferences an "Break on unhandled errors" is checked. During the macro, I turn off events.
Where should I look? Thanks in advance for your reply.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,216,126
Messages
6,129,004
Members
449,480
Latest member
yesitisasport

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
Back
Top