If it is in word then you have to save the document first.

ActiveDocument.Save 0

The zero means don't ask for changes