+ Reply to Thread
Results 1 to 5 of 5

User that is logged in

  1. #1
    Registered User
    Join Date
    02-10-2010
    Location
    Sacramento, Ca, USA
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    33

    Thumbs up User that is logged in

    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.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: User that is logged in

    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".

  3. #3
    Forum Contributor
    Join Date
    08-08-2005
    Location
    Kansas, USA
    MS-Off Ver
    2016
    Posts
    293

    Re: User that is logged in

    Application.UserName will return the user name

    ---GJC

  4. #4
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: User that is logged in

    I think that

    Please Login or Register  to view this content.
    returns the name entered during product registration, not the name of the logged on user.

  5. #5
    Registered User
    Join Date
    02-10-2010
    Location
    Sacramento, Ca, USA
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    33

    Re: User that is logged in

    Thank you Guys I love you for the speedy answer.
    Gunilla who is much happier now

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1