Hi, i have a named range "rngImportDeliv" which is the file path to where the file is stored. How can i incorporate this named range with the below code?
Code:
Dim fd As FileDialog
Set fd = Application.FileDialog(msoFileDialogOpen)
If fd.Show() = True Then
Set sourcebook = Workbooks.Open(Filename:=fd.SelectedItems(1))
End If