The following VBA Macro code will help you in performing auto-hiding blank rows in a specific worksheet.
Application.ScreenUpdating = False
For i = 3 To 25 'Include the row numbers
If ActiveSheet.Cells(i, 1) = "" Then
ActiveSheet.Cells(i, 1).EntireRow.Hidden = True
End If
Next i
Application.ScreenUpdating = True
End Sub
No comments:
Post a Comment
Thank You.
https://linwintech.blogspot.com/