问题如题.
大家知道原因吗?
我是用wd.quit
set wd=nothing
退出的

解决方案 »

  1.   

    wd.save
    wd.quit 
    set wd=nothing
      

  2.   

    wd.close
    wd.quit 
    set wd=nothing
      

  3.   

    2个对象的方法 我搞错了
    举个简单的列子  Dim wp As Word.Application
      Dim wd As Word.Document
      Dim sel As Word.Selection
      Set wp = New Word.Application
      Set wd = wp.Documents.Open("e:\1.doc")
      Set sel = wp.Selection
      wd.Tables.Add sel.Range, 5, 5  wd.Save
      wd.Close 
    '上面这2句只要执行任意一句都可
      Set wd = Nothing
      wp.Quit
      Set wp = Nothing
      

  4.   

    顺序不能搞错 总不能先关闭了word 再去保存文档吧