Environ("username") returns the Windows login username.
Might be the problem lies with the OS and method of login??
I run only WindowsXP with multiple users so can't test.
Gord Dibben MS Excel MVP
On Thu, 17 Sep 2009 06:42:09 -0700, Chilidog
wrote:
Is this associated with a particular reference that needs to be added in the
VB design window?
"Barb Reinhardt" wrote:
Ignore the previous response. It works either way for me.
"Chilidog" wrote:
I'm in the process of migrating to MS Office 2007. Problem is once I convert
some code items that work in 2003 seem bomb out in 2007. Specifically, the
Environ("username") function. Does anyone know how this converted in 2007?
Thanks in advance for any help, it is greatly appreciated.
Scott