Hi all,
I have a simple macro that I would like to start whenever the value in cell H13 or H14 is changed. I've searched online, but either I'm doing something wrong, or the given answers do not work.
Anyone who knows how to get it going?
This is the macro that should start whenever H13 or H14 is changed:
Sub Hide()
For i = 35 To 106
If Cells(i, 8).Value = 0 Then
Cells(i, 8).EntireRow.Hidden = True
End If
Next i
For i = 35 To 106
If Cells(i, 8).Value > 0 Then
Cells(i, 8).EntireRow.Hidden = False
End If
Next i
End Sub
Bookmarks