I need the path name and file name of the file that is opened with File Dialog. I want to show this information with a hyperlink in my worksheet.
With this code I ha
I think you want this:
Dim filename As String filename = Application.GetOpenFilename Dim cell As Range cell = Application.Range("A1") cell.Value = filename