I have a workbook with about 25 worksheets. And I want a macro to hide any rows (from 5 to 33) if there is nothing (number or text) in the column A of that row.
Can someone help please?
I have seen similar ones deleting blank rows ect. But I am not smart enough to change those to fit. If you could give me the code I can copy it on to my file (VBA).
Please help... Thanks
Sub Hiderow()
Application.ScreenUpdating = False
Dim s As String
For i = 1 To Range("A5:A33").Count
s = i & ":" & i
If IsEmpty(Cells(i, 1).Value) Then Rows(s).EntireRow.Hidden = True
Next
Application.ScreenUpdating = True
End Sub