Dim endRow As Long
endRow = Cells(Rows.Count, 1).End(xlUp).Row
Range("A2").AutoFill Destination:=Range("A2:A" & endRow)
I have formulas in A2 and B2 and want to autofill at the same time instead
of separately. I tried modifying (Range("A2:B2"),etc.) but can't get it to
work.
Any help would be greatly appreciated!
Dim endRow As Long
endRow = Cells(Rows.Count, 3).End(xlUp).Row
Range("A2:B2").AutoFill Destination:=Range("A2:B" & endRow)
Notice column designation after the colon has been changed to B in BOTH
Range function calls.
--
Rick (MVP - Excel)
"Valerie" <Val...@discussions.microsoft.com> wrote in message
news:C0FC76D6-D4A7-4F81...@microsoft.com...
Dim endRow As Long
endRow = Cells(Rows.Count, 1).End(xlUp).Row
Range("A2").AutoFill Destination:=Range("A2:B" & endRow)