ToolsRevisionDate$()

Syntax

ToolsRevisionDate$()

Remarks

Returns the date and time the selected revision was made. If the selection does
not include revision marks, ToolsRevisionDate$() returns an empty string ("").

Example

This example uses the ToolsRevisionType() function to determine whether the selection contains a revision. If so, a message box displays the date and time the selected revision was made. If the selected text contains no revision, Word displays an appropriate message box.


If ToolsRevisionType() <> 0 Then
    MsgBox "Revision made " + ToolsRevisionDate$() + "."
Else
    MsgBox "No revisions are selected."
End If

See Also

ToolsReviewRevisions, ToolsRevisionAuthor$(), ToolsRevisionDate(), ToolsRevisions, ToolsRevisionType()