Partager via


_Workbook.ChangeHistoryDuration Property

Returns or sets the number of days shown in the shared workbook's change history. Read/write Integer.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property ChangeHistoryDuration As Integer
    Get
    Set
'Usage
Dim instance As _Workbook
Dim value As Integer

value = instance.ChangeHistoryDuration

instance.ChangeHistoryDuration = value
int ChangeHistoryDuration { get; set; }

Property Value

Type: System.Int32

Remarks

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

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace