Partilhar via


WorkbookBase.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.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Public ReadOnly Property RevisionNumber As Integer
public 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

WorkbookBase Class

Microsoft.Office.Tools.Excel Namespace