Find my code at the end of the question. I am trying to automate a daily process. Every day, a new row is added to the ITR file and I need to enter the new value of that column in another sheet. Is there a way I can create a macro which can select the last row of column 9? I tried to use the R1C1 format and used R[last_row]C9 but I have no idea if this would ever work. Any help? Thanks.
Sub Macro4()
'
' Macro4 Macro
'
'
dim last_row As Long
last_row = Cells.Find(What:="*", SearchDirection:=[ITR 21.10.2020.xlsx]).Row
Range("E17").Select
Selection.FormulaR1C1 = "='[ITR 21.10.2020.xlsx]Transactions'!R[last_row]C9"
End Sub