in a spare column number the lines. Then Copy the contents of those
cells into the cells below in that column twice. Now sort your
spreadsheet on that column
Your description is at odds with your subject line so I'll assume
description is correct.
Sub InsertRows()
Application.ScreenUpdating = False
Dim NumRows As Integer
Dim lrow As Long
Dim r As Long
lrow = Cells(Rows.Count, 1).End(xlUp).Row
NumRows = 2
For r = lrow To 1 Step -1
ActiveSheet.Rows(r + 1).Resize(NumRows).EntireRow.Insert
Next r
Application.ScreenUpdating = True
End Sub
Gord Dibben MS Excel MVP
On Thu, 24 Sep 2009 11:45:01 -0700, Karen Rosenberger <Karen
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.