SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
Function UserNameWindows() As String UserName = Environ("USERNAME") End Function