_Workbook.Saved Property
True if no changes have been made to the specified workbook since it was last saved. Read/write Boolean.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property Saved As Boolean
Get
Set
'Usage
Dim instance As _Workbook
Dim value As Boolean
value = instance.Saved
instance.Saved = value
bool Saved { get; set; }
Property Value
Type: System.Boolean
Remarks
If a workbook has never been saved, its Path property returns an empty string ("").
You can set this property to True if you want to close a modified workbook without either saving it or being prompted to save it.