Ricco
08-22-2021, 07:54 AM
Hi,
I am looking for a macro that could extract the name of the last 3 parents folders from a file.
Example: full path = c: \ document \ example \ ... \ ... \ folder1 \ folder2 \ folder3 \ myfile.docx
I would like to get: folder1 folder2 folder3
Thanks a lot by advance
I am looking for a macro that could extract the name of the last 3 parents folders from a file.
Example: full path = c: \ document \ example \ ... \ ... \ folder1 \ folder2 \ folder3 \ myfile.docx
I would like to get: folder1 folder2 folder3
Thanks a lot by advance