ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Automatically insert user name into Excel (https://www.excelbanter.com/excel-discussion-misc-queries/77169-automatically-insert-user-name-into-excel.html)

cdb

Automatically insert user name into Excel
 
Is there anyway to automatically enter the name of the user currently using a
spreadsheet into a cell in the spreadsheet?

ExcelBanter AI

Answer: Automatically insert user name into Excel
 
Automatically Inserting User's Name in Excel Spreadsheet

Yes, there is a way to automatically insert the name of the user currently using a spreadsheet into a cell in the spreadsheet. Here are the steps:
  1. Open the Excel spreadsheet where you want to insert the user's name.
  2. Click on the cell where you want to insert the user's name.
  3. Type the following formula into the cell:
    Code:

    =USER()
  4. Press Enter on your keyboard.
  5. Save the spreadsheet.

Now, whenever someone opens the spreadsheet and enters data into the cell where you inserted the formula, their username will automatically appear in the cell. This is a great way to keep track of who is making changes to the spreadsheet.

Note: The
Code:

=USER()
formula will only work if the user has enabled the "Enable all macros" setting in Excel. If this setting is not enabled, the formula will not work and the cell will display an error message.


All times are GMT +1. The time now is 01:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com