I looked at the code from your previous post and saw:
Code:
'open MSWord
Set appWord = GetObject(, "Word.Application")
If Err.Number <> 0 Then
Set appWord = New Word.Application
appWord.Visible = True
End If
but nowhere did I see where you closed Word or released the pointers. In effect, the Word document is still open.
The automation rule (that I learned) is:
If you open it, close it. (this applies to recordsets)
If you create it, destroy it. (this applies to things like Word/Excel objects)
Note 1:Make sure this is at the end of the Sub/Function.
Note 2: If you use "Set db = Currentdb"...... do not close Currentdb or set Currentdb = nothing. But you would have a line: "Set db = Nothing"
I would suggest you should try modifying your code to ensure the objects (Word) are closed before you try to open the document.
My $0.02........