You don't need to use createobject you can use environ() method
UserName = environ("UserName")
I'm not sure what other login username you are using that requires a
createobject. Are you using an Internet Explorer and then login?
--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=164049
Microsoft Office Help