Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

您可以使用 Visual Basic for Applications (VBA) ,為 PowerPoint 建立宏。 包含 VBA 宏的簡報必須以不同於一般簡報檔案的擴展名儲存, (如 .pptx、.potx 或 .ppsx) 中沒有宏。

若要儲存包含 VBA 宏的簡報,請執行下列動作:

  1. 按一下 [檔案] 索引標籤,再按一下 [另存新檔]。

  2. 在 [ 存盤類型] 清單中,選取下列其中一項:

    • PowerPoint Macro-Enabled 簡報    擴展名為 .pptm 且可以包含 VBA 程式代碼的簡報。

    • PowerPoint Macro-Enabled 顯示]    包含 .ppsm 擴展名的節目,其中包含您可在簡報內執行的預先核准宏。

    • PowerPoint Macro-Enabled 設計範本    擴展名為 .potm 的範本,其中包含預先核准的宏,您可以將宏新增至範本,並在簡報中使用。

  3. 按一下 [儲存]。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×