Sub GetPartOfFilePath() Dim myPath As String, myOutput As String, originalFile As String, NewFile As String
Dim wb As Workbook
'Retrieve ActiveWorkbook's File Path (Displayed in Immediate Window [ctrl + g])
originalFile = ActiveWorkbook.Name
NewFile = Application.GetOpenFilename(FileFilter:="Excel Files (*.xls*), *.xls", Title:="Please select a file", MultiSelect:=False) 'only excel files
Set wb = Workbooks.Open(NewFile)
NewFile = Dir(NewFile)
'Retrieve File Name with Extension (Displayed in Immediate Window [ctrl + g])
myOutput = Right(myPath, Len(myPath) - InStrRev(myPath, "\"))
Debug.Print "File Name (w/ ext): " & myOutput
Debug.Print "Opened Workbook's Fullname: ", wb.FullName
End Sub