M
Melissa
Using Word XP VBA I need to be able to pull the folder
name from the 2nd from last level of the file path:-
H:\Work\reports\customername\2004\Project
Strategy\Core\rollout.doc
to return Project Strategy
H:\Work\reports\customername\2004
\Financial\standard\marketing.doc
to return Financial
H:\Work\reports\customername\2003\Health &
Safety\standard\marketing.doc
to return Health & Safety
I have looked at trimming a path to just show the document
name which I am fine with but as for this query I am
really stuck - currently the full document path is being
stored in a variable.
Does anyone have any ideas please.
Thank you for your time.
name from the 2nd from last level of the file path:-
H:\Work\reports\customername\2004\Project
Strategy\Core\rollout.doc
to return Project Strategy
H:\Work\reports\customername\2004
\Financial\standard\marketing.doc
to return Financial
H:\Work\reports\customername\2003\Health &
Safety\standard\marketing.doc
to return Health & Safety
I have looked at trimming a path to just show the document
name which I am fine with but as for this query I am
really stuck - currently the full document path is being
stored in a variable.
Does anyone have any ideas please.
Thank you for your time.