Field codes: LastSavedBy field

Applies To
Word for Microsoft 365 Word for Microsoft 365 for Mac Word 2024 Word 2024 for Mac Word 2021 Word 2021 for Mac

The LastSavedBy field inserts the name of the last person who modified and saved the document. The name inserted comes from the Statistics tab in the Properties dialog box. To view the Properties dialog box, go to the File tab> Info > Properties (on the right side), and then select Advanced Properties.

Syntax

When you view the LastSavedBy field in your document, the syntax looks like this:

{ LASTSAVEDBY }

Note

This content applies to the desktop versions of Word for Windows and Mac (including Word with a Microsoft 365 subscription).

A field code tells the field what to display. Field results are what is shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9 on Windows or Option+F9 on Mac.

Example

If the last person who saved the document was A. Gabor, the text and field "Revised by ⁠{⁠ LASTSAVEDBY ⁠}⁠" displays this result:

"Revised by A. Gabor"