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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.