Hello,
I'm trying to autofill some cells but I do not want to autofill from the top of the column I need to only fill from the first empty cell in column C down to the last used cell in column A. I've tried several different iterations the following is currently what I've attempted but it is not working. Any help is appreciated.
I'm trying to autofill some cells but I do not want to autofill from the top of the column I need to only fill from the first empty cell in column C down to the last used cell in column A. I've tried several different iterations the following is currently what I've attempted but it is not working. Any help is appreciated.
Code:
Dim lastRow As Long
Dim FirstLastRow As Long
lastRow = Range("A" & Rows.Count).End(xlUp).Row
FirstLastRow = Range("C" & Rows.Count).End(xlUp).Row
Range("C2").AutoFill Destination:=Range(FirstLastRow, lastRow)