JTL9161
Well-known Member
- Joined
- Aug 29, 2012
- Messages
- 593
- Office Version
- 365
- Platform
- Windows
I am trying to copy the formula in the active cell in column F to the bottom line of column F based on the last cell with data in column J. When I use the below code it copies it all the way down column F past the last cell in J.
Am I forgetting something in this code?
LastRowF = Range("F" & Rows.Count).End(xlUp).Row
LastRowJ = Range("J" & Rows.Count).End(xlUp).Row
Range("F" & LastRowF).AutoFill Destination:=Range("F" & LastRowF & ":F" & LastRowJ)
Thanks
James
Am I forgetting something in this code?
LastRowF = Range("F" & Rows.Count).End(xlUp).Row
LastRowJ = Range("J" & Rows.Count).End(xlUp).Row
Range("F" & LastRowF).AutoFill Destination:=Range("F" & LastRowF & ":F" & LastRowJ)
Thanks
James