word, save
-
Hi all I have word automation project. the project, opens the file, formats it, prints it and closes it. but when the program execute
word.document.close
line, the message box asking , " do you want to save the file? yes, no , cancel " pops up. How can I get rid of it... I triedword.document.close(False,True,True) but it give me compile error. thank you
-
Hi all I have word automation project. the project, opens the file, formats it, prints it and closes it. but when the program execute
word.document.close
line, the message box asking , " do you want to save the file? yes, no , cancel " pops up. How can I get rid of it... I triedword.document.close(False,True,True) but it give me compile error. thank you
To stop the save prompt you should just be able to call: word.document.close(False) using this I've opened a doc, applied a theme (thus changing it) printing then closed it without any prompts. HTH