D
drea5845
I have been using this macro to insert rows depending on how many
need.
When I need more rows interested I just change the number by numRows=
I would like to know how I can copy the row above to the new inserte
row. I would like to do this for large amounts of data. As of now I jus
do this manually and it can be very time consuming.
Sub InsertRows()
Application.ScreenUpdating = False
Dim numRows As Integer
Dim r As Long
numRows = 1
For r = 265 To 1 Step -1
ActiveSheet.Rows(r + 1).Resize(numRows).EntireRow.Insert
Next r
Application.ScreenUpdating = True
End Su
need.
When I need more rows interested I just change the number by numRows=
I would like to know how I can copy the row above to the new inserte
row. I would like to do this for large amounts of data. As of now I jus
do this manually and it can be very time consuming.
Sub InsertRows()
Application.ScreenUpdating = False
Dim numRows As Integer
Dim r As Long
numRows = 1
For r = 265 To 1 Step -1
ActiveSheet.Rows(r + 1).Resize(numRows).EntireRow.Insert
Next r
Application.ScreenUpdating = True
End Su