Insert 5 rows between existing values in a single column 1
Run this macro. I assumed the data is in Column A starting in A2 with row 1
being headers. HTH Otto
Sub Insert5Rows()
Dim rColA As Range
Dim c As Long
Set rColA = Range("A2", Range("A" & Rows.Count).End(xlUp))
c = rColA(rColA.Count).Row
Application.ScreenUpdating = False
Do
Cells(c, 1).Rows("1:5").EntireRow.Insert Shift:=xlDown
c = c - 1
Loop Until c = 2
Application.ScreenUpdating = True
End Sub
"camsd" wrote in message
...
I have a sheet with over 10,000 rows of existing data, all in a single
column.
I need to insert 5 rows in between each existing row quickly and easily.
Doing it manually is not so efficient!
For example:
F14745
F14746
F14747
needs to become:
F14745
F14746
F14747
etc.,
Likey a way to do this with a Macro, but I don't have a clue on how to do
it.
Easy way seems to elude me.
Thanks.
|