ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   MS Excel 2003 - inserting an editors name into a cell (https://www.excelbanter.com/excel-discussion-misc-queries/89277-ms-excel-2003-inserting-editors-name-into-cell.html)

TP GS 180506

MS Excel 2003 - inserting an editors name into a cell
 
How do I insert a user's name automatically into a specific cell when they
open a worksheet, make some changes and then save it. I need to record the
last person to make changes to the spreadsheet. There name needs to be
automatically inserted into a specific cell of my choosing so that when
someone else looks at the spreadsheet either in read-only mode or without
making any changes to it they can see who last edited it.

Zone

MS Excel 2003 - inserting an editors name into a cell
 
I put this in a regular module. You could also use it in the workbook
module as an on open event.

Sub Auto_open()
[a1] = ThisWorkbook.BuiltinDocumentProperties("Author")
End Sub


Paul Lautman

MS Excel 2003 - inserting an editors name into a cell
 
TP GS 180506 wrote:
How do I insert a user's name automatically into a specific cell when
they open a worksheet, make some changes and then save it. I need to
record the last person to make changes to the spreadsheet. There name
needs to be automatically inserted into a specific cell of my
choosing so that when someone else looks at the spreadsheet either in
read-only mode or without making any changes to it they can see who
last edited it.


Have you thought of using Tools-Track changes to get all their (note not
there!!!) changes listed?



Andy Pope

MS Excel 2003 - inserting an editors name into a cell
 
To get the last saved by name I think you would need,

[a1]= ThisWorkbook.BuiltinDocumentProperties("Last Author")

Cheers
Andy

Zone wrote:
I put this in a regular module. You could also use it in the workbook
module as an on open event.

Sub Auto_open()
[a1] = ThisWorkbook.BuiltinDocumentProperties("Author")
End Sub


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info


All times are GMT +1. The time now is 04:54 PM.

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