Insert 6 blank rows After every 3rd rows

gg016

New Member
Joined
Aug 5, 2011
Messages
3
im trying to figure out a way to insert 6 blank rows after every 3rd row of my data. and continue that process until its all the way thru w/ my data, at row 1500

how can do this in macro?
i am somewhat of a beginner at this point.. only knowing to search online... then copy/paste. lol.

advises are welcomed, thanks all!!

PS: im using Excel 03 btw.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Try:
Code:
Sub TEST()
For r = Cells(Rows.Count, 1).End(xlUp).Row To 1 Step -3
Rows(r).Resize(6).Insert
Next
End Sub
 
Upvote 0
Try:
Code:
Sub TEST()
For r = Cells(Rows.Count, 1).End(xlUp).Row To 1 Step -3
Rows(r).Resize(6).Insert
Next
End Sub


this works, but since i have 996 rows, its breaking down the last row into one row on its own... how do i fix that?

please advise.
thank you so much for the quick reply and advise!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,147
Members
452,891
Latest member
JUSTOUTOFMYREACH

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