Rows Insertion

  • Thread starter Thread starter b166er
  • Start date Start date
B

b166er

hi members
how can I insert rows after every fiftth row I have data of more than
6000 rows that means I want to insert 2000 rows in that sequence
 
think some like this:
Sub tst()
Dim r
For r = 1 To 6000 Step 5
Cells(r, 1).Activate
ActiveCell.EntireRow.Insert
Next
End Sub

not sure what fiftth means :-)
 

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

Back
Top