Peter.Stevens2
Board Regular
- Joined
- Sep 16, 2008
- Messages
- 56
Hi, I've got a problem and I think its one of those simple solutions that is impssible until someone points out the obvious!
Basically I want to check to see if a certain worksheet has an autofilter applied to it when the workbook is opened, and if there is I want to remove the autofilter (ShowAllData not remove autofilter buttons) before it does anything else. The problem I'm having is accounting for when there isn't an autofilter applied and the ShowAllData errors out.
Any Help would be greatly appreciated!
Thanks
Basically I want to check to see if a certain worksheet has an autofilter applied to it when the workbook is opened, and if there is I want to remove the autofilter (ShowAllData not remove autofilter buttons) before it does anything else. The problem I'm having is accounting for when there isn't an autofilter applied and the ShowAllData errors out.
Any Help would be greatly appreciated!
Thanks