共用方式為


PowerPoint) (Application.PresentationBeforeClose 事件

會在關閉之前代表 Presentation 物件。

語法

expression. PresentationBeforeClose( _Pres_, _Cancel_ )

expression 代表 Application 物件的變數。

參數

名稱 必要/選用 資料類型 描述
Pres 必要 簡報 The Presentation 物件。
Cancel 必要 布林值 如果設為 True ,簡報就不會關閉。

傳回值

另請參閱

Application 物件

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應