troy.gagnon
New Member
- Joined
- Jan 21, 2011
- Messages
- 11
I have buttons on my sheets that let me move from sheet to sheet using ActiveSheet.Next.Select and ActiveSheet.Previous.Select. However, if there's a hidden sheet between any two sheets, it won't move to that sheet - for obvious reasons - and nothing happens.
So, is there a way to move to the next UNHIDDEN sheet? Or will I have to test to see if the next sheet is hidden and skip over it somehow? If the latter, what might the code look like?
Thanks.
So, is there a way to move to the next UNHIDDEN sheet? Or will I have to test to see if the next sheet is hidden and skip over it somehow? If the latter, what might the code look like?
Thanks.