How to add user name if they edit a value in a row

%3CLINGO-SUB%20id%3D%22lingo-sub-1505178%22%20slang%3D%22en-US%22%3EHow%20to%20add%20user%20name%20if%20they%20edit%20a%20value%20in%20a%20row%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1505178%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20wondering%20if%20there%20is%20a%20way%20for%20Excel%20to%20tell%20me%20if%20a%20user%20has%20made%20changes%20to%20any%20entry%20in%20a%20row%20in%20a%20workbook%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%20if%20someone%20changes%20any%20cell%20value%20in%20a%20particular%20row%20in%20a%20workbook%2C%20I%20want%20a%20particular%20cell%20in%20that%20row%20to%20tell%20me%20who%20changed%20it%2C%20based%20on%20the%20user%20information%20logged%20in%20Excel.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%20width%3D%22759%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22130%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22181%22%3EValue%3C%2FTD%3E%3CTD%20width%3D%22181%22%3EValue%3C%2FTD%3E%3CTD%20width%3D%22267%22%3EPerson%20who%20make%20change%20in%20any%20row%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3ERow%201%3C%2FTD%3E%3CTD%3EAny%20change%3C%2FTD%3E%3CTD%3EAny%20change%26nbsp%3B%3C%2FTD%3E%3CTD%3EUser%20log%20in%20will%20show%20in%20this%20cell%20if%20they%20change%20Row1%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3ERow%202%3C%2FTD%3E%3CTD%3EAny%20change%3C%2FTD%3E%3CTD%3EAny%20change%26nbsp%3B%3C%2FTD%3E%3CTD%3EUser%20log%20in%20will%20show%20in%20this%20cell%20if%20they%20change%20Row2%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3ERow%203%3C%2FTD%3E%3CTD%3EAny%20change%3C%2FTD%3E%3CTD%3EAny%20change%26nbsp%3B%3C%2FTD%3E%3CTD%3EUser%20log%20in%20will%20show%20in%20this%20cell%20if%20they%20change%20Row3%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1505178%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBI%20%26amp%3B%20Data%20Analysis%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETraining%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUser%20Adoption%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

I'm wondering if there is a way for Excel to tell me if a user has made changes to any entry in a row in a workbook?

 

For example, if someone changes any cell value in a particular row in a workbook, I want a particular cell in that row to tell me who changed it, based on the user information logged in Excel.

 

 ValueValuePerson who make change in any row
Row 1Any changeAny change User log in will show in this cell if they change Row1 
Row 2Any changeAny change User log in will show in this cell if they change Row2
Row 3Any changeAny change User log in will show in this cell if they change Row3
1 Reply

@mitchellbourke__  I see 2 potential solutions for you: VBA or Track Changes

VBA - using VBA you can detect changes on a sheet and update a particular cell using one of a number of calls that will return the user name (e.g.  activesheet.range("D2").value = application.UserName).  Note these calls will return the user name that Excel is registered under not necessarily the use doing it (hopefully they aren't sharing PWs or logins or MS office registrations) or a name that matches a particular list (e.g. my registration/login credentials are different than what a particular company/group may normally communicate to me using).  If you are familiar with VBA and do a quick search on how to detect changes on a sheet I think you can write this pretty quickly.

 

Track Changes - Excel has track changes capability.  You may have to enable the menu item as legacy functionality.  There are some tricks to make it working right including locking the sheet and setting the duration to maximum value.  In this fashion you can see who changed what and when and such.  I learned about this when I did a webinar about how to make Excel worksheet FDApart11 compliant (https://www.upiq.com/trainings/livewebinar/3295/excel-spreadsheets-ensuring-data-integrity-and-21-cf...).  But instead of their name being in that particular cell it will show up in a change sheet or as a comment in the cell.  Although this isn't the exact output you wanted it may be a more secure way to track changes and you don't need to write VBA code.