I am trying to use VBA code on an Access form to map (or remap) a network drive. When the drive is remapped, the UNC name remains unchanged in Windows Explorer even though the remapping was successful. If I step through the same code in the debugger, the UNC name gets updated appropriately...
Attached is an excerpt of the VBA code I use in Access to remap a drive. When the drive is not in use, it gets mapped without a problem. When it is in use, the RemoveNetworkDrive works (no error), but the share name that I see in explorer doesn't change. If I step through the code, I see the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.