Hello,
I want to be able to insert a new row below the one that I have selected, I have some code already that works for what I am trying to do, except I only want it to copy the data that is in cells A:M and not all of the information that is in that row.
this is what I have, it is set up in a module that has a button assigned to it:
Sub cOPYlINeabove()
Rows(ActiveCell.Row).Copy
Rows(ActiveCell.Row).Select
Selection.Insert Shift:=xlUp
ActiveCell.Select
Row = 1
clms = 5
ActiveCell.Offset(Row, clms).Select
End Sub
thankyou for your help!
Matt
I want to be able to insert a new row below the one that I have selected, I have some code already that works for what I am trying to do, except I only want it to copy the data that is in cells A:M and not all of the information that is in that row.
this is what I have, it is set up in a module that has a button assigned to it:
Sub cOPYlINeabove()
Rows(ActiveCell.Row).Copy
Rows(ActiveCell.Row).Select
Selection.Insert Shift:=xlUp
ActiveCell.Select
Row = 1
clms = 5
ActiveCell.Offset(Row, clms).Select
End Sub
thankyou for your help!
Matt