Hide and Unhide Columns based on Cell Value
:( I am trying to solve a problem with Hiding Un-Hiding Columns when a Cell Value = 1.
I have an formula in my Spread Sheet that can result in any Cell in the Range "BF9:BF35" to = "1" and when this occurs I need Column "Q" and Column "AS" to Un-Hide.
How can I acheive this with VBA.
How do I get the version 2 code from your attachment - I am new at this.
Quote:
Originally Posted by
Paul_Hossler
I had the True/False reversed
Don't know about the error - I don't get it
Try ver 2 -- I added a WB Open event to calculate sheet 1 to make sure it initializes
You might have to change the sheet name in the sub in your workbook