一个困扰了我一天的问题,method 'add' of object 'documents' failed
错误码是'-2147417851(80010105)'
源程序中有如下几句
Dim app As New Word.Application
Dim doc As Word.Document
app.Visible = False
Set doc = app.Documents.Add
doc.SaveAs FileName:="e:\first.doc"
Set doc = Nothing
app.Quit
Set app = Nothing
同样documents的其它方法比如open也无法使用,提示是“上次打开normal.dot”出现严重错误,然后不管我点击“打开”还是“恢复数据”都无济于事,问题的所在可能是标准模板normal.dot出了问题,但是我把officexp重装了一遍还是没解决