手机
当前位置:查字典教程网 >电脑 >PowerPoint教程 >PPT另存为htm 或 mht 等网页格式
PPT另存为htm 或 mht 等网页格式
摘要:一、問題描述在PowerPoint2010不提供另存新檔為htm、mht選項,但假如需要將簡報檔案轉換成htm或mht等網頁格式,該如何處理...

一、問題描述在 PowerPoint 2010 不提供另存新檔為 htm、mht 選項,但假如需要將簡報檔案轉換成 htm 或 mht 等網頁格式,該如何處理?

二、方法可以透過 VBA 撰寫程式呼叫 PowerPoint object model 將簡報檔匯出成 htm 或 mht 檔案,參考以下步驟 :

1. 使用 PowerPoint 2010 開啟 PowerPoint 檔案。

2. 按 Alt + F11 開啟 VBA。

3. 出現 VBA 後,按 Ctrl + G 呼叫 [即時咚鉣 視窗。

4. 在即時咚阒凶珜懸韵鲁淌酱a,其中您必須將 SaveAs後的的內容修改為另存新檔的檔案路徑與名稱,輸入後按 Enter 鍵執行即可另存新檔為 htm。

1ActivePresentation.SaveAs Drive:usersusernamedesktopfilename.htm, ppSaveAsHTML, msoFalse
例如要儲存到 C: ,檔案名稱為 TEST.htm,則

1ActivePresentation.SaveAs C:TEST.htm, ppSaveAsHTML, msoFalse

5. 將簡報檔匯出成 htm 檔案結果

6. 若要儲存為 mht,請在即時咚阋暣爸休斎胍韵鲁淌酱a,其中您必須將 SaveAs後的的內容修改為另存新檔的檔案路徑與名稱

輸入後按 Enter 鍵執行即可另存新檔為 mht。

1ActivePresentation.SaveAs Drive:usersusernamedesktopfilename.htm, ppSaveAsWebArchive, msoFalse
例如要儲存到 C: ,檔案名稱為 TEST.mht,則

1ActivePresentation.SaveAs C:TEST.mht, ppSaveAsWebArchive, msoFalse

7. 將簡報檔匯出成 mht 檔案結果。

三、相關參考與連結The Save As dialog box does not have the .htm and the .mht file type option in PowerPoint 2010

【PPT另存为htm 或 mht 等网页格式】相关文章:

powerpoint2007如何编辑分析图表

如何批量去除PPT上的批注

PPT中“保存”字体样式方法

Office Powerpoint演示文档大瘦身

PPT如何制作滚动文本

修改ppt底板的方法

PowerPoint 2007教程之制作旋转风车

PPT怎么做出扁平风格效果

PPT如何存出文稿中的图片

PPT如何制作标题幻灯片

精品推荐
分类导航