#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 214
Default Username

Hi Alvin,
Quite symply:
MsgBox CreateObject("Wscript.Network").UserName

MP

"Alvin Hansen" a écrit dans le
message de ...
Hi!!
I use this
name = Environ("username")
Its work allright on a standalone PC but when i try on a PC there loog on

to
a server then username is the name there been used when Windoes was

install
first time. And not the "real" user

Hope someone can help

Best regards alvin



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
(username v1) JJernigan Excel Discussion (Misc queries) 0 June 12th 08 09:13 PM
username robzrob Excel Worksheet Functions 2 May 4th 08 05:59 PM
NT Username ceemo Excel Discussion (Misc queries) 4 August 2nd 05 04:39 PM
username libby Excel Programming 8 April 25th 04 03:37 AM
Get NT Username Steven Pugh Excel Programming 7 February 20th 04 09:37 AM


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