When I navigate to another URL I get a dialog saying "This document has been
modified. Do you want to save changes?" with Yes, No and Cancel buttons. I
have browser.Silent set to True and
browser.Document.Application.DisplayAlerts = wdAlertsNone. How can I prevent
this dialog from appearing?
Ta
Chris Jones
If you are using IPersist<Something> interface to programmatically save your
document, the last parameter in the Save method is a Boolean flag which
indicates, among other things, that the Dirty flag of the document should be
cleared. You might want to play with this flag to get rid of the "Save"
dialog. Actually, the fact that you are getting this dialog means your
document is *not* quite saved...
;-) Alexei Reatov
-------------
*** Become a beta-tester of DejaViews - my new cool news search client!
*** www.betterbrowser.com/DejaViews.htm, (updated daily)