You are a little bit vague. I did a google search for the following and
got lots of different answers
VBA GetUserName advapi32.dll createobject
--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=164049
Microsoft Office Help