Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How can I display a user name is Excel?

Rather than having everyone enter their name in a spreadsheet before printing
their reports I was wondering if there is a function that would display the
user's user or display name in a cell.

Thanks,
Phil
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default How can I display a user name is Excel?

not sure what you want to do, but this line of code would enter the username
that was used to log in to windows into cell A1

range("A1").Value = environ("username")
if you need more info, post back.
--


Gary

"Phil_M" wrote in message
...
Rather than having everyone enter their name in a spreadsheet before
printing
their reports I was wondering if there is a function that would display
the
user's user or display name in a cell.

Thanks,
Phil


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display contents of a cell in a user form text box -- Excel 2003 VBA hiskilini Excel Discussion (Misc queries) 7 April 4th 23 10:22 AM
How can I display a user name is Excel? Gary''s Student Excel Discussion (Misc queries) 0 April 13th 09 09:26 PM
Function that will automatically display the User Name? ~C Excel Worksheet Functions 2 May 2nd 06 02:09 PM
How do I display the user details in a XLS sheet? CJ Excel Worksheet Functions 2 November 11th 05 04:57 PM
Display Last Saved By date & User? Annabelle Excel Discussion (Misc queries) 4 October 4th 05 08:27 PM


All times are GMT +1. The time now is 08:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"