
Originally Posted by
Palmetto
Sorry.
I assume you are calling the Show All sub from within the module named "ThisWorkbook", which is where the code should be placed.
Since I don't know if you are running other code in that module . . .
I would place the line of code I gave you after whichever line of code calls the Show All sub or near the very end of the event.
This code:
Gives a variable not defined error...
I definitely did not write this code - so I am still learning the ins and outs of it. The Boolean is placed in a module... which consists of the code listed above. There are several sections of code listed under thisWorkbook that seem to relate to this as well.
Thank you for bringing thisWorkbook up as the proper location for the code. I was able to locate the proper placement - and utilized the Activesheet command listed above and it is working now... thank you. Will list as problem solved.
Bookmarks