Hi all,
I'm attempting to Hide Sheet titled "LOW" if B2 is "FALSE", or Unhide if B2 is "TRUE", however when I press 'Run Sub', the Macros Dialog Box pops up. I've attempted to find the answer elsewhere, but to no avail.
CODE AS FOLLOWS:
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("B2").Value = "FALSE" Then Sheets("LOW").Visible = False
Else: If Range("B2").Value = "TRUE" Then Sheets("LOW").Visible = True
End If
End Sub
Thanks All
I'm attempting to Hide Sheet titled "LOW" if B2 is "FALSE", or Unhide if B2 is "TRUE", however when I press 'Run Sub', the Macros Dialog Box pops up. I've attempted to find the answer elsewhere, but to no avail.
CODE AS FOLLOWS:
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("B2").Value = "FALSE" Then Sheets("LOW").Visible = False
Else: If Range("B2").Value = "TRUE" Then Sheets("LOW").Visible = True
End If
End Sub
Thanks All