I am currently using a word template to produce a document populated from VB6. The template was originally run and created in word 97. The flow is that if word was not originally running, it gets closed after printing the document. I am using:
myWord.Quit savechanges:=wdDoNotSaveChanges
to close word without saving the document. This works when word 97 is on the PC that is running the app, but if word 2002 is used, word locks up. Does anyone know of a command that is compatable to both?
myWord.Quit savechanges:=wdDoNotSaveChanges
to close word without saving the document. This works when word 97 is on the PC that is running the app, but if word 2002 is used, word locks up. Does anyone know of a command that is compatable to both?