T
tom
Good day.
I have created check boxes that control hiding and unhiding columns and rows
in one workbook writing the following code to control the hiding and unhiding.
Private Sub Worksheet_Calculate()
If Range("b5").Value = False Then
Columns("c").EntireColumn.Hidden = True
Else
Columns("c").EntireColumn.Hidden = False
End If
End Sub
I have since opened a new workbook, created another checkbox and used the
same code with absolutely no luck. I have checked my Macro settings in both,
which are both set to "low".
I am completely baffled.
Any suggestions?
I have created check boxes that control hiding and unhiding columns and rows
in one workbook writing the following code to control the hiding and unhiding.
Private Sub Worksheet_Calculate()
If Range("b5").Value = False Then
Columns("c").EntireColumn.Hidden = True
Else
Columns("c").EntireColumn.Hidden = False
End If
End Sub
I have since opened a new workbook, created another checkbox and used the
same code with absolutely no luck. I have checked my Macro settings in both,
which are both set to "low".
I am completely baffled.
Any suggestions?