View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
riso riso is offline
external usenet poster
 
Posts: 16
Default Environ("username")

Yes.

Environ("username") returns 'weakuser' for weeks. Users' computers are
turned off daily.

thanks


On Mar 6, 10:22 pm, "Bob Phillips" wrote:
Have you logged off of those machines and logged back on since?

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"riso" wrote in message

ups.com...



Hi folks,


An IT administrator 'created' 10 PC with windows XP with 2 users,
namely "administrator" and "weakuser", with an imagedisc. Later
administrator logged in to every computer and changed the account name
of the user from 'weakuser' to the real name of a person who uses that
computer (e.g. Smith, Shepard, etc).


The interesting thing is that Environ("username") on every PC returns
'weakuser', not the real name. Is it possible to find the login (Smith
or Shepard or etc.) in VBA?


thanks- Hide quoted text -


- Show quoted text -