Ref: https://www.accessforums.net/sample-...ent-20745.html
ERROR: The code in this project must be updated for use on 64-bit systems.
This is in red
This only works if saves as a Access 2003 format?Code:Private Declare Function apiGetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
MOD EDIT: split thread and merge posts