I am trying to get the filename of the Excel file that is opened, however keep getting the full path plus the filename. For example, I keep getting: C:\some_dir\other_dir\another_dir\filename.xls when in reality, I just want filename out of filename.xls. The issue is that the user could go into many sub-directories so can't simply use a parsor since it may change every time. Thoughts?
strFileToOpen = Application.GetOpenFileName(Title:="Select File to Open")