I am using code which I found from a reputable online source, which has worked perfectly until one of our users installed Office 2016 - 64 bit. The issue seems to be the 64 bit version of Office. I have learned that the code can be modified by using 'PtrSafe' & 'LongPtr'. I am comfortable with adding the 'PtrSafe' but I do not know which or how many of the original 'Long' statements must be changed.
I have included all the code from this module, in case it is of help, but I suspect that the changes will only need to be made in the code preceeding the 'Function fnUNCPath(strDriveLetter As String) As String' line. I may be wrong with this assumption, so that is why I included all the code.
Thank you in advance for your assistance.
Please Login or Register to view this content.
Bookmarks