Hi,
Am i correct in guessing that the C12 cell with the value is on the Tally sheet and the rows you want to hide and unhide is on the Summary sheet?
If so then I think the following code will do what you need:
Private Sub Worksheet_Change(ByVal Target As Range)
Application.ScreenUpdating = False
If Intersect(Target, Range("C12")) Is Nothing Then Exit Sub
If Target.Address = ("$C$12") And Target.Value = "x" Then
Sheets("Summary").Rows("1:13").EntireRow.Hidden = True
ElseIf Target.Address = ("$C$12") And Target = "" Then
Sheets("Summary").Rows("1:13").EntireRow.Hidden = False
End If
Application.ScreenUpdating = True
End Sub
Just right click on the tally sheet and select "View code" and paste the above code in the active window
Hope this helps
Mike
Bookmarks