BlueBarratt
New Member
- Joined
- Jul 29, 2015
- Messages
- 4
Hi all,
Having some trouble writing a macro to fill down formulae across several columns.
My macro looks like this:
Sheets("Arcade").Rows("37:37").Select
Selection.Insert Shift:=xlDown
Sheets("Arcade").Range("A36:T36").Select
Selection.AutoFill Destination:=Range("A36:T38"), Type:=xlFillDefault
Range("A36:T38").Select
I've recorded myself doing the exact thing I want the macro to do, and it returns the same code, so I'm a bit lost as to why it's not working. The error comes about on the penultimate line.
Thanks in advance for any help.
Having some trouble writing a macro to fill down formulae across several columns.
My macro looks like this:
Sheets("Arcade").Rows("37:37").Select
Selection.Insert Shift:=xlDown
Sheets("Arcade").Range("A36:T36").Select
Selection.AutoFill Destination:=Range("A36:T38"), Type:=xlFillDefault
Range("A36:T38").Select
I've recorded myself doing the exact thing I want the macro to do, and it returns the same code, so I'm a bit lost as to why it's not working. The error comes about on the penultimate line.
Thanks in advance for any help.