Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How I get the User Name of a word 2002 document? 1

Status
Not open for further replies.

EdmCath

Technical User
Jun 22, 2004
34
CA
I am trying to get the users full name to insert into a word document, similar to what the username field would return. I have tried Environ("username"), but that returns the login name. I dont want to use fields because they cant be changed in a protected document.

Anyone have any ideas?
 
And what about Application.UserName ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Duh, what a fool I am. I tried it with activedocument and it didn't work.

Here's a star.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top