Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-11-2013, 09:09 AM
errolpl errolpl is offline Automaticly add login-user name Windows 7 64bit Automaticly add login-user name Office 2003
Novice
Automaticly add login-user name
 
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 Automaticly add login-user name Windows 7 64bit Automaticly add login-user name 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 add login-user name 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

Other Forums: Access Forums

All times are GMT -7. The time now is 01:59 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft