Thread: Userid
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 6,953
Default Userid

UName = Environ("Username")

demo'd from the immediate window:

? environ("username")
ogilvytw

--
Regards,
Tom Ogilvy


"Marvin" wrote:

Is there a way I can determine the windows USERID of the current user. I
would like to make some functionality available to some, but not all users?

Thanks..