PowerPoint) (Application.ActivePresentation 屬性
會傳回 Presentation 物件,此物件代表在使用中視窗內開啟的簡報。 唯讀。
語法
expression。 ActivePresentation
expression 代表 Application 物件的變數。
傳回值
Presentation
註解
如果內嵌的簡報就地為使用中,則 ActivePresentation 屬性會傳回內嵌的簡報。
範例
這則範例會將載入的簡報儲存在應用程式資料夾中名為 "TestFile" 的檔案內。
MyPath = Application.Path & "\TestFile"
Application.ActivePresentation.SaveAs MyPath
另請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。