I was wondering how I can delete blank rows from a table using vba. Any help would be appreciated! The code I currently have will create table just fine, and it will select the range I need to delete. But I can't figure out how to actually get it to delete the rows I need. There are two different tables I need to do this for.
Thanks in advance!
Worksheets.Item("Report").Range("H1:L50").Select
ActiveSheet.ListObjects.Add(xlSrcRange, Range("$H$1:$L$150"), ,xlYes).Name = _
"Table1"
Range("Table1").Activate
Selection.SpecialCells(xlCellTypeBlanks).Select
Selection.EntireRow.Delete