I found a macro to "hide" rows that have a value <1 in them. However, occasionally, we need to go back and put values in those hidden rows. Is there a way to undue the macro or run a reverse of it? This is the macro I am using. I am also open to a better macro to accomplish what I want. Thank you!
Sub HideRows()
BeginRow = 1
EndRow = 420
ChkCol = 5
For RowCnt = BeginRow To EndRow
If Cells(RowCnt, ChkCol).Value < 1 Then
Cells(RowCnt, ChkCol).EntireRow.Hidden = True
End If
Next RowCnt
End Sub
Sub HideRows()
BeginRow = 1
EndRow = 420
ChkCol = 5
For RowCnt = BeginRow To EndRow
If Cells(RowCnt, ChkCol).Value < 1 Then
Cells(RowCnt, ChkCol).EntireRow.Hidden = True
End If
Next RowCnt
End Sub