Sub DeleteRows()
Dim ws As Worksheet
Set ws = ThisWorkbook.Sheets("faktury")
Dim tbl As ListObject
Set tbl = ws.ListObjects("DataFaktury")
Dim lastRow As Long
lastRow = tbl.Range.Rows.Count
Dim i As Long
For i = lastRow To 1 Step -1
If IsError(tbl.DataBodyRange.Cells(i, 11).Value) Then
tbl.DataBodyRange.Rows(i).Delete
End If
Next i
MsgBox ("ŘÁDKY VYMAZÁNY")
End Subcitovat