R
rpw
Hi everyone
I'm VBA dumb so please bear with me. I have a macro that inserts a row at the selection and then I want it to copy the cell below the selection and paste into the new row's cell. Here's what's in the macro now
Selection.EntireRow.Inser
Range("D23").Selec
Selection.AutoFill Destination:=Range("D2223"), Type:=xlFillCop
Range("D2223").Selec
When I run the macro, a row is inserted above the cursor's location (no matter where it's placed) but the AutoFill is always to D23. My question is how do I get the code to autofill the new blank cell
TI
rpw
I'm VBA dumb so please bear with me. I have a macro that inserts a row at the selection and then I want it to copy the cell below the selection and paste into the new row's cell. Here's what's in the macro now
Selection.EntireRow.Inser
Range("D23").Selec
Selection.AutoFill Destination:=Range("D2223"), Type:=xlFillCop
Range("D2223").Selec
When I run the macro, a row is inserted above the cursor's location (no matter where it's placed) but the AutoFill is always to D23. My question is how do I get the code to autofill the new blank cell
TI
rpw