mark hansen
Well-known Member
- Joined
- Mar 6, 2006
- Messages
- 534
- Office Version
- 2016
- Platform
- Windows
I found a problem in a spreadsheet where a userform was looking for the last row. It found and incorrect list if the sheet is filtered. More searching found I need to use ShowAllData before I look for the last row. That caused an error if there were no filters set. So more searching I found I could use On error resume Next which works.
My question is when the On Error reset and go back to stopping and display the error, so I can look at it?
I have the first ShowAllData when I open the work book and another one as I open the userform that asks for data that is then added to the sheet.
Is the On Error Resume Next going to stay in effect the whole time I have the work book open?
Thanks,
Mark
My question is when the On Error reset and go back to stopping and display the error, so I can look at it?
I have the first ShowAllData when I open the work book and another one as I open the userform that asks for data that is then added to the sheet.
Is the On Error Resume Next going to stay in effect the whole time I have the work book open?
Thanks,
Mark