Hi All,
After much searching and trying various code snippets, I am unable to solve my problem of why this code is not working. There are 2 sheets on the worksheet. If the value in cell A1 Sheet 1 = 0 then hide Column C in Sheet 2. Seems simple. I am using Excel for Mac 2016. Any advice appreciated. Cheers and happy Easter to all. Jan
Worksheet is attached and code is in Sheet1
[VBA]Private Sub Worksheet_Change(ByVal Target As Range)
If Target_Address = Range("A1") Then
If Target_Address = "0" Then
Sheet2.Columns("C").EntireColumn.Hidden = True
Else
Sheet2.Columns("C").EntireColumn.Hidden = False
End If
End Sub[/VBA]