LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 175
Default Retrieve ID from NT?

Hi try this User Define Function

1) Press Alt + F11
2) Select ThisWorkbook, right click and choose Insert then Module
3) Paste the code below into this module

Function UserName() As String
UserName = Environ("UserName")
End Function

4) close the VBE editor
5) Call this function by placing the formula in a cell, eg A1
=UserName()


--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked


Thank You

cheers, francis










"Don" wrote:

Within Excel , can it tell you the name of the person who is accessing the
file =

1) The name they put in Excel or
2) System Login ID (from NT?)

thanks in advance

 
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
How to retrieve the value? Eric Excel Discussion (Misc queries) 2 December 1st 08 02:09 PM
How to retrieve text within ()? Eric Excel Discussion (Misc queries) 13 September 23rd 08 10:24 PM
How to retrieve the value from formula? Eric Excel Worksheet Functions 4 June 21st 07 02:39 PM
Search and retrieve dziw Excel Discussion (Misc queries) 5 April 25th 06 09:50 PM
Retrieve data Matt W via OfficeKB.com Excel Discussion (Misc queries) 1 July 14th 05 06:40 PM


All times are GMT +1. The time now is 09: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"