+ Reply to Thread
Results 1 to 4 of 4

Macro VBA - Populating USERNAME at DATA entry

  1. #1
    Registered User
    Join Date
    06-23-2015
    Location
    Brussels, Belgium
    MS-Off Ver
    Excel 2010
    Posts
    60

    Macro VBA - Populating USERNAME at DATA entry

    Hi Guys,

    May I request your help regarding the below question please?

    Would you know a formula or a part of Macro code which is giving the Windows Username of the last person who modified or entered a given cell?

    Also I want that cell to be frozen a part from the moment the data is entered or modified and not that the name get updated with the next worksheet calculation,

    Has anyone some expertise on that ?

    Many thanks in advance for your help !

    Regards,

    Steffen

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Macro VBA - Populating USERNAME at DATA entry

    This will give you the username

    environ("UserName")

    But I dont know how to get the name of the last person who modified.. Maybe someone else can help..

    I think it may not be possible (I may be wrong), coz how would windows know who is accessing the file physically.

    All it can know is the windows username, or the author of the workbook..
    Cheers!
    Deep Dave

  3. #3
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Hyderabad
    MS-Off Ver
    2007
    Posts
    160

    Re: Macro VBA - Populating USERNAME at DATA entry

    I think its better go with Track Changes Under Review tab and Changes rather than making it with Macro.

    Please check and if it is resolved. Please mark it as solved.

  4. #4
    Registered User
    Join Date
    06-23-2015
    Location
    Brussels, Belgium
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: Macro VBA - Populating USERNAME at DATA entry

    Hi,

    Thanks for the update,

    If this become complex let's say that I would like to only reflect the Windows username of the person which filled in the cell and that this info become frozen and get not updated with the next workbook calculation,

    Thanks in advance for your help, if you need extra info please let me know,

    Regards,

    Steffen

+ 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. Populating application username if next cell is populated- formula
    By KK1234 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-12-2013, 10:46 AM
  2. Macro for importing username/password protected web data
    By hasanqz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-08-2013, 07:29 PM
  3. Populating VBA userform and Fetch previously entered data edit and make new entry
    By vijaynadiad in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-07-2013, 11:59 AM
  4. google excel spreadsheet not auto-populating with formulas, but skipping row of data entry
    By dzm in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 9
    Last Post: 05-12-2013, 09:55 PM
  5. Populating fixed cells with sequential data entry from different sheet
    By caseyld in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-17-2012, 01:54 PM
  6. VBA Data Entry Form - Populating Separate Book
    By chiz in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-02-2009, 07:43 AM
  7. auto populating off of username
    By KLahvic in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-11-2009, 11:41 AM
  8. Need help with UserName entry
    By McBarker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-23-2006, 08:10 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