Option Explicit
Sub Delete_Rows_COUNTA()
'Erik Van Geit
'051124
'if no data in all columns (FC to LC) then delete the row
Dim RNG As Range
Dim LR As Long
Const FR As Long = 2 'first row with data to check
Const FC As Integer = 1 'first column
Const LC As Integer = 6 'last column
LR = Cells.Find("*", [A1], xlFormulas, xlPart, xlByRows, xlPrevious, False, False).Row
Application.ScreenUpdating = False
Columns(1).EntireColumn.Insert
With Range(Cells(FR, 1), Cells(LR, 1))
.FormulaR1C1 = "=IF(COUNTA(RC" & FC + 1 & ":RC" & LC + 1 & ")<" & LC - FC + 1 & ","""",1)"
.EntireRow.Sort Key1:=.Cells(1), Order1:=xlAscending, Header:=xlNo
On Error Resume Next
.SpecialCells(xlCellTypeFormulas, 2).EntireRow.Delete
On Error GoTo 0
.EntireColumn.Delete
End With
Application.ScreenUpdating = True
End Sub