+ Reply to Thread
Results 1 to 4 of 4

Get Windows Username

  1. #1
    Forum Contributor
    Join Date
    08-21-2018
    Location
    Romania
    MS-Off Ver
    2010
    Posts
    178

    Get Windows Username

    Hi guys,

    is possible to do that?

    if Range C1:C is not blank, then get windows username in Range D1:D?

  2. #2
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    Re: Get Windows Username

    try

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-21-2018
    Location
    Romania
    MS-Off Ver
    2010
    Posts
    178

    Re: Get Windows Username

    thanks. and this code is working
    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    Re: Get Windows Username

    always try to minimum use of loop (as it save the time)
    if there is no option then we have to use it

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Run Macro Based on Windows Username
    By scruz9 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2016, 03:08 PM
  2. How Do I User Windows Variable Username with strFilePath?
    By kitchenspoon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-19-2016, 04:30 AM
  3. windows username
    By max_max in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-18-2013, 05:07 PM
  4. getting windows username into excel
    By Billy_E in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2013, 12:53 PM
  5. Get Actual Windows Username
    By RedWing in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-17-2012, 08:11 PM
  6. SQL Statement WHERE User = Windows Username ID
    By JohnGaltnl in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-07-2011, 04:24 AM
  7. windows 2003 server username
    By neta in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-29-2008, 08:07 AM

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