編輯

共用方式為


AppEvents.WorkbookBeforeClose(Workbook, Boolean) Method

Definition

public:
 void WorkbookBeforeClose(Microsoft::Office::Interop::Excel::Workbook ^ Wb, [Runtime::InteropServices::Out] bool % Cancel);
public void WorkbookBeforeClose (Microsoft.Office.Interop.Excel.Workbook Wb, out bool Cancel);
Public Sub WorkbookBeforeClose (Wb As Workbook, ByRef Cancel As Boolean)

Parameters

Cancel
Boolean

Applies to