Workbook.KeepChangeHistory property (Excel)

True if change tracking is enabled for the shared workbook. Read/write Boolean.



expression A variable that represents a Workbook object.


This example sets the number of days shown in the change history for the active workbook if change tracking is enabled.

With ActiveWorkbook 
 If .KeepChangeHistory Then 
 .ChangeHistoryDuration = 7 
 End If 
End With

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.