I've searched everywhere to an answer to my question but every answer has conditions, such as every other row, or when a condition exists or using a msgbox. I want to add 5 blank rows to the end of my Excel table with no other requirements. My table is named Backhaul_Table. That's it. I know how to just add 1 row but how can I modify it to add multiple?
I've read about loops but I'm not sure how to actually do it. Oh, did I mention I'm new?
This is what I'm doing to add one row
Dim ws as worksheet
set wb = thisworkbook
set ws = wb.sheets("Backhaul Tracking Sheet')
ws.ListObjects("Backhaul_Table").ListRows.add alwaysinsert:=True
I've read about loops but I'm not sure how to actually do it. Oh, did I mention I'm new?
This is what I'm doing to add one row
Dim ws as worksheet
set wb = thisworkbook
set ws = wb.sheets("Backhaul Tracking Sheet')
ws.ListObjects("Backhaul_Table").ListRows.add alwaysinsert:=True