how to insert a row at regular intervals of row

D

dsnema

Hi, I need to insert a row after a regular intervals of 180 rows in a big
data file. How can I enter?
 
G

Gary''s Student

Sub insert_them()
For i = 181 To 999 Step 180
Rows(i).Insert Shift:=xlDown
Next
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top