Hello people,
I use this code to navigate one level up
my problem is..PHP Code:FilePath = Left(ActiveWorkbook.Path, InStrRev(ActiveWorkbook.Path, "\"))
I need to go up two levels up
here is a example here is the whole path
C:/test/123/source
my code make this result
C:/test/123/
I need to extract the number to a variable
could someone help me ?


Reply With Quote
