Littlemalky
Board Regular
- Joined
- Jan 14, 2011
- Messages
- 223
Hey, so I have this line of code that seems like it should work, I don't get any kind of error when I run the macro; however, when I check my file the only part of it that worked was the copying and pasting the formula into the single cell. Even though I have the autofill language in there, it doesn't seem to be applying it to the column. Here's what I have:
I just need it to autofill down to the last row with data in it. I have data in columns A:V if that's relevant, but I only want to autofill column "S".
Code:
Range("D2").Copy _
Destination:=Workbooks("Fulfillment " & Format(Date, "yyyymmdd") & " - Domestic" & ".xlsx").Worksheets("detail w add").Range("S2")
With Range("S2")
.AutoFill Destination:=Range("S2", Cells(Cells(Rows.Count, 20).End(xlUp).Row, 19))
End With