#1   Report Post  
ceemo
 
Posts: n/a
Default NT Username


Hi, im not sure if this is possible but i thought i'd ask.

FYI - Excel'97


I use at work excel on nt where everyone has to log in using there NT
profile. Is there anyway to incorrporate there username into my
spreadsheets. We are able to do this with access im not sure how and i
thought it may be possible on excel. It would be a great benefit to
myself where we have spreadsheets that get updated by many people this
would log there details?


--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=392062

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Create a UDF in a standard Code Module

Function ThisUser()
ThisUser = Environ("UserName")
End Function

and then use like =ThisUser()

Tested on XP with XL97, not NT, but I would hope it works the same.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ceemo" wrote in
message ...

Hi, im not sure if this is possible but i thought i'd ask.

FYI - Excel'97


I use at work excel on nt where everyone has to log in using there NT
profile. Is there anyway to incorrporate there username into my
spreadsheets. We are able to do this with access im not sure how and i
thought it may be possible on excel. It would be a great benefit to
myself where we have spreadsheets that get updated by many people this
would log there details?


--
ceemo
------------------------------------------------------------------------
ceemo's Profile:

http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=392062



  #3   Report Post  
ceemo
 
Posts: n/a
Default


Hi, firstly thanks for your help. What does UDF stand for?


--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=392062

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

User Defined Function.

It's like a function that's built into excel =sum(), but it's written by a user
(you or Bob!).

ceemo wrote:

Hi, firstly thanks for your help. What does UDF stand for?

--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=392062


--

Dave Peterson
  #5   Report Post  
ceemo
 
Posts: n/a
Default


well thanks for you help got it working just fine. Didnt realise at
first that it had to be placed in a module outside of a macro. thanks
again!


--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=392062

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
wildcards in vba shellshock Excel Discussion (Misc queries) 3 July 21st 05 07:37 PM
How do I populate a cell with the NT Logon username? Mike Excel Discussion (Misc queries) 1 June 3rd 05 07:58 AM
Is there a template for username and password storage for Excel? help Excel Discussion (Misc queries) 1 May 17th 05 03:29 PM
How can I print the username or computername from excel? YesNo Excel Discussion (Misc queries) 0 March 9th 05 06:03 PM


All times are GMT +1. The time now is 03:06 AM.

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"