Two ways to do this, one using VBA and one not, thanks to responses on this board from previous similar requests:
VBA:
Sub InsertRows()
Dim i As Integer
Dim LastRow As Integer
LastRow = Cells(65536, 1).End(xlUp).Row
For i = LastRow To 2 Step -1
Rows(i).Insert Shift:=xlDown
Next i
End Sub
Non VBA:
(1) Number your rows (1 to 300 or whatever the last row is) in an unused column.
2. Paste a copy of these numbers (1 to 300 or whatever) directly beneath the copied numbers -- on unused rows.
3. Sort (Ascending) on the column that contains the numbers, then clear the contents (the numbers) of that column.
Any help?
Tom Urtis
Hey Tom, your non-VBA way is a neat trick! (nt)
Re: Hey Tom, your non-VBA way is a neat trick! (nt)
Thanks Barrie, actually someone on this board (cannot recall who, but not me) came up with this one, so I can't take credit but it is kinda cool.
T.U.
works a treat - thx Two ways to do this, one using VBA and one not, thanks to responses on this board from previous similar requests: