Hi there, this is probably so easy it hurts (for those of you that know how to do it). I have done it before but lost the code.
I need to get the user name from the computer. I am going to make a msgbox where it appears. Please help,I am stuck
Hi there, this is probably so easy it hurts (for those of you that know how to do it). I have done it before but lost the code.
I need to get the user name from the computer. I am going to make a msgbox where it appears. Please help,I am stuck
Last edited by Gunilla; 03-05-2010 at 01:14 PM.
Hi,
This code will return the logged in name in a message box.
Please Login or Register to view this content.
Rule 1: Never merge cells
Rule 2: See rule 1
"Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".
Application.UserName will return the user name
---GJC
I think that
returns the name entered during product registration, not the name of the logged on user.Please Login or Register to view this content.
Thank you Guys I love you for the speedy answer.
Gunilla who is much happier now
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks