This is a VBA method, not a worksheet function. To get this into a
worksheet fucntion, you can use something like this ...
http://www.vbaexpress.com/kb/getarticle.php?kb_id=234
Making use of the UDF in the link, you could use the worksheet function ...
=GetName("Windows")
HTH, and regards,
Zack Barresse
"MBlake" wrote in message
...
Hi Jim,
Can you explain how I use this?. I entered <Environ("UserName") into a
cell but got just the printed text. I entered it as =Environ("UserName")
and got NAME?
Mickey