How do u get the username from win in a outlook 2002 form

B

bomberen

HEY HEY HEY

How do u get the username from the person who is logged in, in window
and into a outlook 2002 contactform!!

Anyone

THANKS!

Bo Byrialse
 
S

Sue Mosher [MVP]

From Listing 10.10 in my book (see sig -- sample code available at that
site):

Set objWSHShell = CreateObject("Wscript.Shell")
username = objWSHShell.ExpandEnvironmentStrings("%username%")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top