返回列表 上一主題 發帖

請教如何CLOSE WORD

請教如何CLOSE WORD

本帖最後由 198188 於 2015-5-9 12:15 編輯
  1. Public Function T_S_Cvt(strData, bytOption) As String
  2. With wrdApp
  3. .Content = strData
  4.   .Range.TCSCConverter bytOption, True, True
  5. T_S_Cvt = .Content
  6. End With
  7. End Function
複製代碼
這個VBA會產生一個WORD檔,請問如何完成後自動close word 檔,以及自己選擇不儲存

        靜思自在 : 小事不做、大事難成。
返回列表 上一主題