#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 159
Default username

Can i get workbook user name to appear in a cell?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default username

Try this tiny UDF

Function uname()
uname = Application.UserName
End Function

--
Gary''s Student - gsnu2007h


"robzrob" wrote:

Can i get workbook user name to appear in a cell?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default username

You want UserName or Login Name?

See G'S's reply for Application Username.

For Login Name use this UDF

Function User()
Application.Volatile
User = Environ("UserName")
End Function


Gord Dibben MS Excel MVP

On Sun, 4 May 2008 06:21:28 -0700 (PDT), robzrob wrote:

Can i get workbook user name to appear in a cell?


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
Save username and date jlclyde Excel Discussion (Misc queries) 2 April 29th 08 04:28 PM
Changing username MauricioBR Excel Discussion (Misc queries) 2 February 8th 08 03:54 PM
Show Username Param Excel Discussion (Misc queries) 1 March 11th 06 03:09 PM
Username Log PaulJ Excel Discussion (Misc queries) 8 March 1st 06 11:51 AM
NT Username ceemo Excel Discussion (Misc queries) 4 August 2nd 05 04:39 PM


All times are GMT +1. The time now is 05:59 AM.

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

About Us

"It's about Microsoft Excel"