G
Guest
I want to use Word 2002 as a "Viewer" of documents that I create "on the fly" using automation. It is working mostly as I expected, I already changed the Menu to remove all options I do not need etc, but eventhough I start word in preview mode, whenever I click the "x" button to close the preview window, it goes back to "edit" mode, when I was expecting the application to close, not just the preview. If from the preview window I click "quit", it works fine, it comes back to my program. So, the question is, how can I make "Preview" the only window accessible to the user
My code is
loWord = Createobject('word.application'
loDocument = loWord.Documents.Add(
* Add content to the document her
*---
loDocument.PrintPreview=tru
loWord.PrintPreview=tru
(Now, pressing the "x" windows button in the preview window, I want word to close aswell
Hope it is clea
My code is
loWord = Createobject('word.application'
loDocument = loWord.Documents.Add(
* Add content to the document her
*---
loDocument.PrintPreview=tru
loWord.PrintPreview=tru
(Now, pressing the "x" windows button in the preview window, I want word to close aswell
Hope it is clea