Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Document.RemoveDateAndTime Property

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



expression   A variable that represents a Document object.


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.


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

Visual Basic for Applications
ActiveDocument.RemovePersonalInformation = True
ActiveDocument.RemoveDateAndTime = True

Community Additions

© 2015 Microsoft