Use the Split() function to return an array split from that string on the
"\" character. Access the member of the array you want.
"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?
>
>