Hi
I need to write a macro that will copy the 1st row of my spreadsheet and insert it into the row above the current users selection (which could eb anywhere).
I can insert a row above the users current seelction using:
Selection.EntireRow.Insert
i then need to copy the 1st row into this row, but when i copy row 1 it has lost the reference to the blank row and i can't paste it.
I think i need to dim a variable of the users current selected field so that i can reference it when pasting but i can't work it out.
Any help greatly appriciated!!
Cheers
I need to write a macro that will copy the 1st row of my spreadsheet and insert it into the row above the current users selection (which could eb anywhere).
I can insert a row above the users current seelction using:
Selection.EntireRow.Insert
i then need to copy the 1st row into this row, but when i copy row 1 it has lost the reference to the blank row and i can't paste it.
I think i need to dim a variable of the users current selected field so that i can reference it when pasting but i can't work it out.
Any help greatly appriciated!!
Cheers