Greetings,
I am having trouble with the last line. I would like to use a variable "a" to define the last row in the Destination range but am receiving an error.
Thanks!
I am having trouble with the last line. I would like to use a variable "a" to define the last row in the Destination range but am receiving an error.
Code:
a = Cells(Rows.Count, "A").End(xlUp).Row
Range("J2:BC2").Select
Selection.AutoFill Destination:=Range("Cells(2, "J"): Cells(a,"BC"))
Thanks!