Workbook.ChangeHistoryDuration Property

Gets or sets the number of days shown in the shared workbook's change history.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Property ChangeHistoryDuration As Integer
int ChangeHistoryDuration { get; set; }

Property Value

Type: System.Int32
The number of days shown in the shared workbook's change history.

Remarks

Any changes in the change history older than the setting for this property are removed when the workbook is closed.

.NET Framework Security

See Also

Reference

Workbook Interface

Microsoft.Office.Tools.Excel Namespace