CDBPlattco
New member
- Local time
- Yesterday, 20:28
- Joined
- Feb 21, 2018
- Messages
- 5
Hi All,
I have a database that lets engineers link to engineering drawings in the processing record using a hyperlink. Although we've had the discussion many times, occasionally the engineers will forget to browse via the Network Drives and go via their mapped drives instead. Thus you have a file path that references a drive letter (G:\\etc\etc\) rather than the UNC path. Given that everyone has different drive letters, it creates some issues.
I'm looking for a vba code that I can call either "OnClose" or as a routine part of my database cleanup that will identify hyperlinks that use a drive letter and convert them to the UNC path instead.
I'm only just starting to pull the code together now, but I'm still learning so I can see the time it's going to take me. Therefore if someone has a version I can shamelessly plagiarize I would be forever grateful!
Regards,
CDB
I have a database that lets engineers link to engineering drawings in the processing record using a hyperlink. Although we've had the discussion many times, occasionally the engineers will forget to browse via the Network Drives and go via their mapped drives instead. Thus you have a file path that references a drive letter (G:\\etc\etc\) rather than the UNC path. Given that everyone has different drive letters, it creates some issues.
I'm looking for a vba code that I can call either "OnClose" or as a routine part of my database cleanup that will identify hyperlinks that use a drive letter and convert them to the UNC path instead.
I'm only just starting to pull the code together now, but I'm still learning so I can see the time it's going to take me. Therefore if someone has a version I can shamelessly plagiarize I would be forever grateful!
Regards,
CDB