Version.SavedBy property (Word)

Returns the name of the user who saved the specified version of the document. Read-only String.

Syntax

expression. SavedBy

expression An expression that returns a 'Version' object.

Example

This example displays the name of the user who saved the first version of the active document.

If ActiveDocument.Versions.Count >= 1 Then 
 MsgBox ActiveDocument.Versions(1).SavedBy 
End If

This example saves a version of the document with a comment and then displays the user name.

ActiveDocument.Versions.Save Comment:="Added client information" 
last = ActiveDocument.Versions.Count 
MsgBox ActiveDocument.Versions(last).SavedBy

See also

Version Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.