Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
I am trying to find a simple formulaic way of extracting the filename from a filepath. I have looked at the Text related functions in Excel and they all appear inapplicable due to the variable nature of filepaths i.e. the number of sub-folders and the variation in naming of all elements. As an example see below: C:\Documents and Settings\Local Settings\My Local Data\Graduation\campusmap.pdf From the above I would want to extract just: campusmap.pdf I have tried to locate the position of the final \ and use that as the key to extract the filename but I am struggling to define this despite reading all related posts on the subject. Any help very much appreciated. Best regards Dave |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
extract text from string | Excel Worksheet Functions | |||
Extract text from a string | Excel Worksheet Functions | |||
Extract text string using MID | Excel Worksheet Functions | |||
Extract text from String | Excel Worksheet Functions | |||
Extract % from text string | Excel Worksheet Functions |