Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
IIRC, I had to enter USERNAME in upper case.
"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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
That hasn't changed MsgBox Environ("Username") works fine Mike "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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Converting from "Trial Version" to Excel 2007 | Excel Discussion (Misc queries) | |||
Environ("USERNAME") | Excel Programming | |||
environ username vs. application username | Excel Programming | |||
Converting "uppercase" string data to "lower case" in CSV file | Excel Discussion (Misc queries) | |||
Environ("username") | Excel Programming |