I am writing a small macro.
Code:
Sub Macro2()
Rows("10:13").Select
Application.CutCopyMode = False
Selection.Copy
Rows("17:17").Select
Selection.Insert Shift:=xlDown
End Sub
Instead of the fifth line where I copy and insert at row 17, how can I insert at whichever row I have selected?
Thanks