I have an access application that contains an unbound object frame that shows a Word document.
When the form loads, the following code fills the unbound object frame successfully. This is the code that does that:
Dim WordApp As Word.Application
Set WordApp = New Word.Application
Me!OLEUnBound.SourceDoc = sTheCurrentDatabaseDirectory & "BlankDocument.doc"
Me!OLEUnBound.Action = acOLECreateLink
On the OnUnload Event of the form, I have:
Set WordApp = Nothing
After the access application ends, I still have numerous instances of WINWORD in the Task manager.
What am I missing?