Set WA= CreateObject("Word.Application")
Set WAT = WA.Tasks
If WAT.Exists("Tool") Then       'Tool.exe
   WAT("Tool").Activate         '激活窗体
   WAT("Tool").WindowState = 0  '0平常模式、1最小化模式、2最大化模式
End If
WA.Quit

  

posted on 2021-07-05 16:36  我是cdt  阅读(45)  评论(0编辑  收藏  举报