編輯

共用方式為


_Workbook.Saved Property

Definition

True if no changes have been made to the specified workbook since it was last saved. Read/write Boolean.

public:
 property bool Saved { bool get(); void set(bool value); };
public bool Saved { get; set; }
Public Property Saved As Boolean

Property Value

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.

Applies to