A better way is to use the login name
createobject("WScript.Network").Username
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
"Charles " wrote in message
...
Hi,
You can porbably use the Application.UserName.
Charles
---
Message posted from http://www.ExcelForum.com/