編輯

共用方式為


Workbooks.Close Method

Definition

Closes the object.

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

Remarks

Closing a workbook using the Close method doesn't run any Auto_Close macros in the workbook. Use the RunAutoMacros(XlRunAutoMacro) method to run the auto close macros.

Applies to