Closing a document under NT 4.0 & Office 97 results in an error, what am i doing wrong?
Posted on 2003-02-20
I made myself a little program that opens a word-document and gives the user the possibility to fill in some bookmarks through a form with textfields. I programmed it all on a W2k machine, with Office 97. But when I start the program on a NT 4.0 machine with Office 97 all goes well until my code does this:
Dim WD As Word.Application
Dim Doc As Word.Document
Set Doc = Nothing
Set WD = Nothing
On Doc.close it gives me the error message:
'An action cannot be completed because a component (Microsoft Word - Document1) is not responding.'
Does anyone know what I should do to make it work again?