nmgmarques
01-31-2017, 09:33 AM
Hi all. I have a small issue here I can't solve any other way and was hoping that maybe this could be solved with VBA. Here's the problem:
Working in a corporate environment, some users work on Network Computers, other on Local Computers. The guys on NC's send the LC's links via Outlook form time to time and the links are formatted as in the example:
\\company.biz\data01\DepData\ptcbr\RH\_data\2017\Horários de Trabalho\Rev. 23\2 - Horários de Trabalho Rev 23_distribuição_01_2017.xlsx
Now here's the problem... That data01 bit... Only works for the NC's. For some reason we still haven't figured out the LC's can't connect to the shares when going through data01. However, we have managed to get the LC's connected using data99 instead. So each time we get a link, we cannot click it but rather copy it, change 01 to 99 and then open the file or link in question. Stranger still, both data01 and data99 work on the NC's. But that's beside the point.
My question here, is there any way to have Outlook check a clicked link for \\company.biz\data01\(...) and if it exists, replace it with \\company.biz\data99\(...), without making changes to all other links to webpages and sorts?
I hope I was clear enough. If not, please let me know and I'll try to give better info and examples. Help greatly appreciated.
Working in a corporate environment, some users work on Network Computers, other on Local Computers. The guys on NC's send the LC's links via Outlook form time to time and the links are formatted as in the example:
\\company.biz\data01\DepData\ptcbr\RH\_data\2017\Horários de Trabalho\Rev. 23\2 - Horários de Trabalho Rev 23_distribuição_01_2017.xlsx
Now here's the problem... That data01 bit... Only works for the NC's. For some reason we still haven't figured out the LC's can't connect to the shares when going through data01. However, we have managed to get the LC's connected using data99 instead. So each time we get a link, we cannot click it but rather copy it, change 01 to 99 and then open the file or link in question. Stranger still, both data01 and data99 work on the NC's. But that's beside the point.
My question here, is there any way to have Outlook check a clicked link for \\company.biz\data01\(...) and if it exists, replace it with \\company.biz\data99\(...), without making changes to all other links to webpages and sorts?
I hope I was clear enough. If not, please let me know and I'll try to give better info and examples. Help greatly appreciated.