Share via


Workbook.KeepChangeHistory Property

Excel Developer Reference

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

Syntax

expression.KeepChangeHistory

expression   A variable that represents a Workbook object.

Example

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

Visual Basic for Applications
  With ActiveWorkbook
    If .KeepChangeHistory Then
        .ChangeHistoryDuration = 7
    End If
End With

See Also