I have a vb app that writes to a word file.
Sometimes, I want to close the file, and pretty much throw it away.
When I go to my close file code, and quit the application, I am prompted by word to save my changes.
My question is, how do I close a word document (made from a document template) in a way that is transparent to the user.
here is some of my code
'this is how I open and write
Set oWord = CreateObject("Word.Application")
.Documents.add (App.path & "\RptStandard.dot")
'here is how I close the document, but the first line causes word to prompt me for a save
Set oWord = Nothing