Q: How to suppress a warning dialog when saving through XSLT?

V

Vladimir Kotlyarov

I use my own XSLT when saving my XML files in Word 2003. Every time user
starts to save a file, he gets an annoying warning about some properties of
a document may be lost.

How can I switch off this warning?
 
W

Word Heretic

G'day "Vladimir Kotlyarov" <[email protected]>,

Just guesses I'm afraid.

I don't think Application.DisplayAlerts will help here, but you can
try it.

If you are doing a .Save try a .SaveAs instead.

You may get some joy from providing an intercept for the FileSave
command.


Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Vladimir Kotlyarov reckoned:
 
V

Vladimir Kotlyarov

Word Heretic said:
I don't think Application.DisplayAlerts will help here, but you can
try it.
No, it doesn't help.
If you are doing a .Save try a .SaveAs instead.

You may get some joy from providing an intercept for the FileSave
command.
You see, when saving through Word object model methods, this dialog isn't
appeared. But I'm interesting if I can supress it without interception of
Word commands, 'cause some actions in Word don't generate a command, for
example, click at "X" at up right corner of Word window (close the
application) - I can't find a command for this action.

thanks,
Bob.
 
W

Word Heretic

G'day "Vladimir Kotlyarov" <[email protected]>,

They are events - closing Word initiates the App_Close event.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Vladimir Kotlyarov reckoned:
 
W

Word Heretic

G'day "Vladimir Kotlyarov" <[email protected]>,

Whoops! Yup - that one :) Doc Close, App Quit :)

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Vladimir Kotlyarov reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top