Dim oDoc As Document
Dim oTable As Table
Set oDoc = Documents.Open("D:\test\Sr.doc") '指定文件路徑
For Each oTable In oDoc.Tables
oTable.AutoFitBehavior (wdAutoFitWindow) '根據窗口調整內容
Next
MsgBox "完成!"
End Sub
一、word另存爲pdf word另存爲pdf時,配置“選項”,勾選“創建書籤時使用—>標題”即可。 一、pdf書籤顯示不全(暫未解決)
文章很有啓發性,轉之~to-do list 原文:The art of the doable to-do list翻譯:cnexpro每個人都可以隨意