Partager via


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
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
ReadOnly Property RevisionNumber As Integer
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