Hello,
when I run that macro I have an error when I hide the worksheet "Consult2". Would you know anyway to have the macro running when the "Consult2" worksheet is hidden?
Many thanks,HTML Code:
Graig
Hello,
when I run that macro I have an error when I hide the worksheet "Consult2". Would you know anyway to have the macro running when the "Consult2" worksheet is hidden?
Many thanks,HTML Code:
Graig
Hi Graig
A macro will not run on a hidden worksheet. However you can use this code to get round this problem.
This code will unhide your worksheet but NOT update the view, then run your code and hide your worksheet again. Change the "ThisSheet" entries in the code to the name of your worksheet.![]()
Please Login or Register to view this content.
Hope this helps.
Good luck.
Tony
Hi graiggoriz
Don't use "Select" with hidden worksheet
Try this code![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks