Hello All,
I am writing a simple VBA application (the code lives in .xls file). To open my .xls file, I run Excel using "Run As..." option. Is there any way to programmatically determine from VBA who the user is (domain\account) that is currently opening this file?
This is done in Windows server 2003 environment, with Active Directory.
If there is a solution to this problem, will the same work for XP or Vista?