Add multiple blank rows to the bottom of an Excel table

Marro

New Member
Joined
Mar 6, 2017
Messages
8
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
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
you can have a helper cell somewhere that tells you you have 20 rows in your table - but if that is the end of your table it already has blank rows beneath it - or maybe only 1 row spacing between it an a second table........
 
Upvote 0
The table has formulas in several of the columns so I should have clarified that rows won't be entirely blank. I know by inserting the rows in the table it will bring the formulas along and the formats
 
Upvote 0
a helper cell is just a cell usually out of sight that does an intermediate calculation to avoid you having to construct long and calculated formulas
 
Upvote 0

Forum statistics

Threads
1,223,238
Messages
6,170,939
Members
452,368
Latest member
jayp2104

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top