Is there a faster way
If the cells in the column are blank
Application.Calculation = xlManual
Columns(9).SpecialCells(xlBlanks).entireRow.Delete
Application.Calculation = xlAutomatic
--
Regards,
Tom Ogilvy
"Jim May" wrote in message
news:TF53d.325828$Oi.259881@fed1read04...
NewLRow below = 7170
As a result this Macro runs for over 25 minutes;
Is there a faster way of getting this done?
Sub Macro3()
Application.ScreenUpdating = False
Dim NewLRow As Long
Dim r As Long
NewLRow = Cells(Rows.Count, 9).End(xlUp).Row
For r = NewLRow To 2 Step -1
If Cells(r, 9) = "" Then
Rows(r).Delete
End If
Next
Range("A1").Select
Selection.EntireRow.Delete
Selection.EntireColumn.Delete
Application.ScreenUpdating = True
End Sub
|