Option Compare Database
Option Explicit
Function fGetWinUserName() As String
fGetWinUserName = VBA.Environ("UserName")
End Function ' fGetWinUserName
Function fGetComputerName() As String
fGetComputerName = VBA.Environ("COMPUTERNAME")
End Function ' fGetComputerName