brothertruffle880
asked on
Excel VBA - Understanding and Using the "Environment"
Aside from username, which other environment items can I display using the following:
I'm asking because I just want to see what environ can do for me.
Sub test()
MsgBox "hello " & Environ("username"), vbOKOnly, "Have a Great Day"
End Sub
I'm asking because I just want to see what environ can do for me.
Sub test()
MsgBox "hello " & Environ("username"), vbOKOnly, "Have a Great Day"
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I simply used the function I included in my reply. It generated the listing based on my PC's environment variables.
ASKER