Share via


_Workbook.RevisionNumber Property

Returns the number of times the workbook has been saved while open as a shared list. If the workbook is open in exclusive mode, this property returns 0 (zero). Read-only Integer.

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

Syntax

'Declaration
ReadOnly Property RevisionNumber As Integer
    Get
'Usage
Dim instance As _Workbook
Dim value As Integer

value = instance.RevisionNumber
int RevisionNumber { get; }

Property Value

Type: System.Int32

Remarks

The RevisionNumber property is updated only when the local copy of the workbook is saved, not when remote copies are saved.

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace