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

Maybe it is worth to add that system is Windows XP Home Edition SP2
czech version.
Could this problem be related only to the local versions (czech)?


Who knows? Not me. Bill? What about you, Bill?


On Mar 6, 9:06 pm, "riso" wrote:
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