Hello everyone,
I want to find and copy last non empty cell in column A and paste it with offset. Problem is that in column A are formulas (Range A1:A18).
For range A1:A8 formulas are numbered. I want copy last cell with numbered formula, which in this case is A8. Unfortunately code copy cell A18, which is last cell with formula.
Code is as follows:
Sub test()
Range("A" & Rows.Count).End(xlUp).Copy
Range("A" & Rows.Count).End(xlUp).Offset(0, 8).PasteSpecial (xlPasteValues)
End Sub
I attached excel file.
Could you help me?
Bookmarks