Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 11-11-2013, 09:09 AM
errolpl errolpl is offline Windows 7 64bit Office 2003
Novice
 
Join Date: Oct 2013
Posts: 9
errolpl is on a distinguished road
Default Automaticly add login-user name

Dears,


I would like to have an option in Word which can automaticly add user name in place which I choose. For example, if someones Windows Profile name is "user-JohnWoo", when John will open a Word, in the right place should automaticly show up "used-JohnWoo" - the style of this text and the place should be easy to change. Is there any easy option (like putting Forms) to do this? I don't want to play with Java Script or something similar.

Sorry for my bad english
Reply With Quote
  #2  
Old 11-11-2013, 02:49 PM
fumei fumei is offline Windows 7 64bit Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

To get the login name use:

Environ("username")

As to where or how to ut that somewhere, you are going to have to be a bit more specific.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automaticly adjust project length LarsO Project 1 05-01-2012 06:30 AM
Automaticly fill word document Frogil Word 3 04-24-2012 06:06 AM
unable to view Microsoft add-in when login as normal user Cloud Ong Outlook 3 02-24-2012 03:12 AM
Word documents linked to user login zrphelps Word 0 01-27-2012 09:03 AM
Check and install Morefunc automaticly zleyphox Excel 0 02-12-2010 08:17 AM


All times are GMT -7. The time now is 06:36 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft