Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default Different Returns

Why do I get different returns using Application.UserName and
Environ("UserName").
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Different Returns

Application.Uername returns the value from Tools - Options - General Tab -
Username. This is the Excel user name

Environ("userName") returns their NT User Name that they logged onto the
system with. This is the windows user name.

--
HTH...

Jim Thomlinson


"Ronbo" wrote:

Why do I get different returns using Application.UserName and
Environ("UserName").

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default Different Returns

I beleived that it was something to that effect. Thanks for clarifying the
issue.

"Jim Thomlinson" wrote:

Application.Uername returns the value from Tools - Options - General Tab -
Username. This is the Excel user name

Environ("userName") returns their NT User Name that they logged onto the
system with. This is the windows user name.

--
HTH...

Jim Thomlinson


"Ronbo" wrote:

Why do I get different returns using Application.UserName and
Environ("UserName").

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
Index with mulitple value returns and muliple column returns solar+CSE Excel Worksheet Functions 4 June 12th 09 04:43 PM
Date returns always returns: 00 January 1900 ArcticWolf Excel Worksheet Functions 2 September 11th 08 12:31 PM
cell with value returns that value, empty cell returns zero tamarak Excel Worksheet Functions 2 November 15th 06 11:51 AM
sum returns #N/A Todd Excel Worksheet Functions 3 June 29th 06 07:54 PM
even/odd returns 1 0r 16 Gbiwan Excel Programming 8 February 20th 04 10:35 PM


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