Dear all expert. I have a question about how to extract the different folder name from a path?
I use an VBA to get the file name & path from the servers.
For example:
May I know are there possible to extract the Company Name & Year to different columns?
Many thanks for all of you if possible to advise any solution.
I use an VBA to get the file name & path from the servers.
For example:
C:\Users\user.abc\ABC Group\Accounting Folder - DOC Library\ABCDEFG LTD (abcd)\2020\PLS.xlsx |
C:\Users\user.abc\ABC Group\Accounting Folder - DOC Library\HIJKLMN LIMITED (HIJK)\2020\PLS.xlsx |
C:\Users\user.defg\ABC Group\Accounting Folder - DOC Library\Google LIMITED (GLG)\2021\PLS.xlsx |
C:\Users\user.beg\ABC Group\Accounting Folder - DOC Library\Apple (APP)\2021\PLS.xlsx |
May I know are there possible to extract the Company Name & Year to different columns?
Company Name | Year |
ABCDEFG LTD (abcd) | 2020 |
HIJKLMN LIMITED (HIJK) | 2020 |
Google LIMITED (GLG) | 2021 |
Apple (APP) | 2021 |
Many thanks for all of you if possible to advise any solution.