Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
All,
I have the following line of code which gets the full path (iPath) of a file (iFile) from a Root directory (sRoot) Cells(iFile, iPathCol).Value = Mid(oFile.Path, Len(sRoot) + 1, FindBack(oFile.Path, "\") + 1 - (Len(sRoot) + 1)) I want to split it, so that the first folder in the path is displayed under iPathCol1 and the remainder of the path is displayed in iPathCol2. I don't understand the part after the equals sign! Can provide a solution for me. Thanks in advance. DDawson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Paths | New Users to Excel | |||
Save file in a new folder, but create folder only if folder doesn't already exist? | Excel Programming | |||
Help with filenames and paths. | Excel Discussion (Misc queries) | |||
XP and string paths | Excel Programming | |||
UNC Paths | Excel Programming |