Workbook.RevisionNumber Property

Gets 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).

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

Syntax

'Declaration
ReadOnly Property RevisionNumber As Integer
    Get
int RevisionNumber { get; }

Property Value

Type: System.Int32
The number of times the workbook has been saved while open as a shared list.

Remarks

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

.NET Framework Security

See Also

Reference

Workbook Interface

Microsoft.Office.Tools.Excel Namespace