Asked By Joseph
11-Feb-12 07:25 AM
Can you help me - what is the VBA to show/hide one worksheet based on a cell value in another worksheet? Or would it be easier to use conditional formatting?
e.g. Cell "H7"contains the week number of the period, i.e. 1,2,3,4,5. I need vba that will automatically show the appropriate weekly sales report and the inventory(inventory1, inventory2, etc) sheet for that week (if the value in"H7" =1 then show week 1 hiding weeks 2,3,4,5; if the value in"H7" =2 then show week 2 hiding weeks 1,3,4,5 etc )
I am using excel 2007, but need it to work w/2000 and 2003 as well.
Thanks.