Workbook.Saved Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether no changes have been made to the workbook since it was last saved.
public:
property bool Saved { bool get(); void set(bool value); };
public bool Saved { get; set; }
member this.Saved : bool with get, set
Public Property Saved As Boolean
Property Value
true
if no changes have been made to the workbook since it was last saved; otherwise, false
.
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.