Hi there
just wondering if its possible in vba for access to retrieve the username of the person currently logged into windows.
Is this beyond VBA
Cheers
Printable View
Hi there
just wondering if its possible in vba for access to retrieve the username of the person currently logged into windows.
Is this beyond VBA
Cheers
If it is on the environ$ you can get it. Read up on this in the help file, as it is handy. However do not use an index number as it has been known for IT folk to move the position of the user name/id.
Example:
Code:Debug.print environ$(1)