Document.RemoveDateAndTime property (Word)

Sets or returns a Boolean indicating whether a document stores the date and time metadata for tracked changes. .

Syntax

expression. RemoveDateAndTime

expression A variable that represents a Document object.

Remarks

True removes date and time stamp information from tracked changes. False does not remove date and time stamp information from tracked changes. Use the RemoveDateAndTime property in conjunction with the RemovePersonalInformation property to help remove personal information from the document properties.

Example

The following example removes personal information from the active document, and it removes date and time information from any tracked changes in the document.

ActiveDocument.RemovePersonalInformation = True 
ActiveDocument.RemoveDateAndTime = True

See also

Document 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.