Use the Split() function to return an array split from that string on the "\" character. Access the member of the array you want.
Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm
"HenrikH" <fam.hougaard@gmail.com> wrote in message news:589ea9d7-9efa-401e-99f7-2e5735dce1aa@o41g2000yqb.googlegroups.com...
> Hi > > I have a shared folder/drive called "H:". It points to the folder "\ > \server\appl\gr-30\afd-53" on a shared drive. > > > So selecting the "H:" drive i explorer would show the files on "\ > \server\appl\gr-30\afd-53" folder. > > > I want to get "gr-30" -part from the path and use it in a Outlook > macro. > > > Is this possible? > >
10 Sep 2009Get part of a path from a shared folder.HenrikH
10 Sep 2009\ Re: Get part of a path from a shared folder.Ken Slovak - [MVP - O...
10 Sep 2009   \ Re: Get part of a path from a shared folder.HenrikH
10 Sep 2009      \ Re: Get part of a path from a shared folder.Ken Slovak - [MVP - O...
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)