Workbook.RevisionNumber Property (2007 System)
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.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
Public ReadOnly Property RevisionNumber As Integer
'Usage
Dim instance As Workbook
Dim value As Integer
value = instance.RevisionNumber
public int RevisionNumber { get; }
public:
property int RevisionNumber {
int get ();
}
public function get RevisionNumber () : int
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.