So I have the following code that works perfectly on a single column and does exactly what I want it to do.
If Range("E23").Value = 1 Then
Columns("E").EntireColumn.Hidden = True
Else
Columns("E").EntireColumn.Hidden = False
End If
What I need to do now is run this IF statement through several hundred columns. How do I code this to loop the IF statement through columns E through FG?
Thanks for any help!
Bookmarks