Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

How to insert rows after eveery third row of data in excel(800 rows)? I need to

ID: 3564690 • Letter: H

Question

How to insert rows after eveery third row of data in excel(800 rows)?

I need to insert a blaank row after every third row of data in excel 2007, it is a constant periodic insertion, so is there a formula?

Example;

Brusters Old Fshoned Ice Cream

101 Riverwalk CT

Canton, GA 30114-3665

Mother Dairies

101 Riverwalk CT

Canton, GA 30114-3665

Allied Compuuter Systems Inc

224 Brown Industrial Pkwy

Canton, GA 30114-8064

Absolute Elegaance Limousine

224 Brown Industrial Pkwy

Canton, GA 30114-8064

Ameritech Services Inc

224 Brown Industrial Pkwy

Canton, GA 30114-8064

This is all in ccolumn A.

Thank you!!

Explanation / Answer

Hi,
i assume that your data are from row1 up to row??
try this code..


Sub abc()
t = 4
Do Until Cells(t, "A") = ""
Rows(t).Insert
t = t + 4
Loop
End Subb

.....................................................

press ALT+F11 to open VB editor.

Insert > module and ppaste the code above on thee right

Close VB editor.

....................................

To run the macro, preess ALT+F8,

select <abc> from the lisst and click the run button.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote