Thread: QUESTION
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Henry[_4_] Henry[_4_] is offline
external usenet poster
 
Posts: 72
Default QUESTION

Fernando,

Is the user logged into the machine (or a network)?
If so, use Application.UserName
If not, you will have to force the user to input a name and password (which
can be checked against a list of allowed users) when the program is started.

Store the name in a Global variable and pop it into your form whenever you
need it.

HTH
Henry


"Fernando Duran" wrote in message
...
What I want to do, is ask to the user to enter his initial or name, and
to printed in the form after, every time the user enters a new form, his
name get print in the form, as "Done for User", but I don't want the
user to override his name... How we can do this type of feature in VBA?

Fernando