N
ND Pard
Version: Excel 2007
I have a 'string' variable named strDbFullName.
The variable contains the full path and file name of an MS Access database.
For example:
strDbFullName = "T:\Bdgt0911\Access\BdgtAdj_0911.mdb"
What is the VBA to retrieve just the path "T:\Bdgt0911\Access"
from the variable strDbFullName?
The variable changes frequently during the program and
may be only 1 sub-folder down from the root.
Thanks in advance.
I have a 'string' variable named strDbFullName.
The variable contains the full path and file name of an MS Access database.
For example:
strDbFullName = "T:\Bdgt0911\Access\BdgtAdj_0911.mdb"
What is the VBA to retrieve just the path "T:\Bdgt0911\Access"
from the variable strDbFullName?
The variable changes frequently during the program and
may be only 1 sub-folder down from the root.
Thanks in advance.