Message Box according to user

M

Mike

Good morning,
I have done my security wizard and everything and have
differant users and such. I would like to set up a macro
message box to pop up only when 1 user logs in, and a
differant one for when another user logs in. Is this
possible?? Any help is greatly appreciated. Thank you
for your time.

Respectfully,
Mike
 
E

Evan

Now sure of what vesrion you are using but I would imagine dead easy!

Rather than macro I would use code - somehting on the lines of:

Select Case CurrentUser()

Case "Bill": Msgbox "Morning Bill"
Case "Mike": Msgbox "Afternoon Mike"
Case else: msgbox "Who are you?"

End Select
 
M

MIke

Thanks works great!
-----Original Message-----
Now sure of what vesrion you are using but I would imagine dead easy!

Rather than macro I would use code - somehting on the lines of:

Select Case CurrentUser()

Case "Bill": Msgbox "Morning Bill"
Case "Mike": Msgbox "Afternoon Mike"
Case else: msgbox "Who are you?"

End Select






.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top