I wrote this macro to look in Column A and if the cell is blank (NULL) then delete the whole row. This is the only way i could figure out how to do it. It runs very SLOOOOOw. Is there a way i can make this much faster?
Public Sub xjob()
Dim rng As Range
Dim rngvalue As Variant
ScreenUpdating = False
‘lRows = Worksheets(“Sheet1”).Range(“A65536”).End(xlUp).Row
Range(“A1”).Select
For I = 1 To 400
rngvalue = Range(“A” & I).Value
If rngvalue = “” Then
Range(“A” & I).EntireRow.Delete
I = I – 1
End If
Next I
ScreenUpdating = True
End Sub