Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have this working, but would like to know if there is a way to do this
without using my tempDir variable (just can't wrap my head around this!). The goal is to strip off the filename and one folder name. Here is what I am using: fullPath = ActiveWorkbook.FullName tempDir = Left(fullPath, InStrRev(fullPath, "\") - 1) exportDir = Left(fullPath, InStrRev(fullPath, "\") - 1) Can this be done without tempDir? Thank you, Judy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to extract data from File Path | Excel Programming | |||
Extract Target path from a shortcut | Excel Programming | |||
extract filename from full path | Excel Programming | |||
Extract Path From String | Excel Programming | |||
Split fullname into Drive, Path and Filename | Excel Programming |