Selection.AutoFill Destination:=Range

Joined
Jun 23, 2011
Messages
2
Reaction score
0
I have code I recorded

Code:
Range("AQ2").Select
    Selection.AutoFill Destination:=Range("AQ2:AQ100"), Type:=xlFillDefault

and I need to change the range to accept a dynamic number of rows down. It will always start with AQ2.

From looking online I've already tried

Code:
Range("AQ2").AutoFill Destination:=Range("AQ2", ActiveCell)

but I get an error:

Run-time error '1004':
AutoFill method of Range Class failed

any help would be greatly appreciated

Thank you,

David92595
 
Back
Top