Вы можете добавить свои другие приложения в код, а также изменить имя файла
Sub GetIt()
Dim wb As Workbook, sh As Worksheet, LstRw As Long
Set wb = Workbooks.Open("C:\Users\dmorrison\Downloads\foo_bar.xlsx")
With wb
Set sh = Sheets(1)
With sh
LstRw = .Cells(.Rows.Count, "A").End(xlUp).Row
MsgBox .Range("A" & LstRw).Value
End With
.Close
End With
End Sub