_Workbook.Save Method

Definition

Saves changes to the specified workbook.

public:
 void Save();
public void Save ();
Public Sub Save ()

Remarks

To open a workbook file, use the Open(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) method.

To mark a workbook as saved without writing it to a disk, set its Saved property to True.

The first time you save a workbook, use the SaveAs(Object, Object, Object, Object, Object, Object, XlSaveAsAccessMode, Object, Object, Object, Object, Object) method to specify a name for the file.

Applies to