OLE Automation: question about Word SaveAs

G

Greg Howard

I am trying to work on a project where I have to open a Word document
and convert it back to WordPerfect 5.1 for DOS. I have found a
machine that has not had the Word XP SP3 installed, so I can still do
the SaveAs command, but when I save as WP Word will pop a message box
asking me to confirm that some formatting may be lost and do I want to
continue. Before I try to automate this process any further can
anyone guide to a place where I can turn off this confirmation
message?

Any help would be greatly appreciated.
Greg Howard
greg dot howard at (removethisnospam dot) med-tech dot net
 
M

Matt Garrish

Greg Howard said:
I am trying to work on a project where I have to open a Word document
and convert it back to WordPerfect 5.1 for DOS. I have found a
machine that has not had the Word XP SP3 installed, so I can still do
the SaveAs command, but when I save as WP Word will pop a message box
asking me to confirm that some formatting may be lost and do I want to
continue. Before I try to automate this process any further can
anyone guide to a place where I can turn off this confirmation
message?

Have you tried setting the DisplayAlerts property on the Word object you
create? There is no way to suppress all error messages, though, so no
guarantees it will work:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;259971

Matt
 

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

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top