Inserting 10 Rows

  • Thread starter Thread starter Todd
  • Start date Start date
T

Todd

I have a list of data in two columns. I would like to
insert ten rows between each row of data (except the first
row of course).

Column A Column B
12.5 45
<ten rows>
23 34
<ten rows>
90 43

Any suggestions?

TIA,
Todd
 
Todd,

Sub Insert10Rows()
Dim myRow As Long
For myRow = Range("A65536").End(xlUp).Row To 2 Step -1
Cells(myRow, 1).Resize(10, 1).EntireRow.Insert
Next myRow
End Sub

HTH,
Bernie
MS Excel MVP
 

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