Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If I retrieve a filename including the filepath like this:
strFileName = Application.GetOpenFilename("Report (*.txt; *.dat ),*.txt; *.dat") How do I manipulate the strFileName, retrieving only the filename? (guess I have to search from right to find the first "\". Then delete the content to the left of this character. But I don't know how this works in VBA) Thanks for suggestions. Frank |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Filename extract from Filepath Text String | Excel Discussion (Misc queries) | |||
Filepath | Excel Discussion (Misc queries) | |||
Function to return filepath given full filename | Excel Programming | |||
get filename and filepath | Excel Programming | |||
Split fullname into Drive, Path and Filename | Excel Programming |