Use
Environ("Username")
This returns the Windows user name.
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)
On Thu, 26 Mar 2009 11:24:01 -0700, AL
wrote:
Using Visual Basic in Excel, how do I obtain the user ID of the user opening
the file?