Hi I've written this for Hiding and Unhiding specific sheets from large sheet set. However it is running too slow. Please advise on improving. Thanks!
![]()
Please Login or Register to view this content.
Hi I've written this for Hiding and Unhiding specific sheets from large sheet set. However it is running too slow. Please advise on improving. Thanks!
![]()
Please Login or Register to view this content.
Last edited by huard; 02-07-2014 at 05:42 AM.
Thanks Fotis. I've edited the posted and included the code tags.![]()
I would start with adding
to the beginning of your code![]()
Please Login or Register to view this content.
and
at the end (before your end sub)
![]()
Please Login or Register to view this content.
Is there a reason you need dynamic sheet selection?
Only I notice the very first section of your macro hides the sheet your looking at and the next one. Is that by design?
Thank you Nickmax1. This is a smart solution!
Would it be easier to have 3 different macros, all run by either CTRL-whatever or buttons on a master sheet, that toggle hiding for all sheets of a particular class?
What is your sheet naming convention like? ie, this'll be really easy if all your Class A sheets starts with "A". For example.
Last edited by huard; 02-07-2014 at 07:13 AM.
huard
I think a sample workbook is needed.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks