My MSAccess database is located on a shared network folder; This function works perfectly… but only for me – the database owner For my colleague’s I get the error #name
Any ideas?
Found this function here!
Function UserNameWindows() As String
UserNameWindows = VBA.Environ("USERNAME") & "@" & VBA.Environ("USERDOMAIN")
End Function