Hello, danielmontejo.
<friendly advice>
First stick to one single thread as long as the subject matter dictate and time lapse not too far apart, and that readers can follow the progress of an issue, and that the original helper(s) has a chance to make good a piece of advice which turns out not working within the same thread, and that netiquette dictate.
</friendly advice>
I think what DaveWoodall suggest in the original thread329-139740 in this context is:
oWord.DisplayAlerts = 0 'wdAlertsNone = 0
So, what you put in the script is not what DaveWoodall proposes.
Unfortunately, the advice may be a good one but _not_ in this context. DisplayAlerts setting has no control on this.
Word would behave as what you describe under the condition that you've not saved the document in the first place. But, you might not want actually not to save the document, fair enough.
In any case, two possible ways to quit the Word with some document hanging there.
[1] Close the documents first
oWord.Documents.Close
oWord.Quit
or
[2] Directly Quit Word without saving changes
oWord.Quit(0) 'wdDoNotSaveChanges = 0
regards - tsuji