I am using the folowing code to hide blank rows
Because it deletes 1 row at a time it takes a long time
Can the code be amended to select rows as a range and hide rows opperation once only
Sub Hide_Rows()
For i = 9 To 34
If Worksheets("Purchasing Information").Cells(i, 2).Text = "" Then
Worksheets("Purchasing Information").Rows(i).Hidden = True
End If
Next i
End Sub
Because it deletes 1 row at a time it takes a long time
Can the code be amended to select rows as a range and hide rows opperation once only
Sub Hide_Rows()
For i = 9 To 34
If Worksheets("Purchasing Information").Cells(i, 2).Text = "" Then
Worksheets("Purchasing Information").Rows(i).Hidden = True
End If
Next i
End Sub
- Edited by Nate: Html blew up the thread. Please post a smaller sample, and make sure your Html has closing tags. Thanks.