Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.programming,microsoft.public.word.docmanagement,microsoft.public.word.application.errors,microsoft.public.word.vba
techie
 
Posts: n/a
Default Error saving Word document as XML

My COM component is automating Word 2003. For the vast majority of Word
documents there are no problems. However, for some documents I get an error
like this when the program tries to save the Word document as an xml file:

A file error has occurred.

Try one or more of the following:

* Check the disk drive to make sure the disk is properly inserted.

* Check the disk or the disk drive to make sure there is not a hardware
problem.

* Check the network connections.

The location where its trying to save Word is C:\Temp. There shouldn't be
any problem saving there because there's plenty of disk space remaining and
everyone has permissions to save there.

The program involves running a validation macro after which the file is
saved as an xml file. The error only seems to happen for certain documents.
The documents look fine to me.

Any idea why a simple save as xml operation should cause this error?

techie


 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
take yet another lesson from wordperfect "reveal codes" wordperfect is superior Microsoft Word Help 5 May 11th 09 07:58 PM
Word 2003 [email protected] Microsoft Word Help 39 April 19th 06 06:35 PM
How can Word display full path of a file in the title bar? SAsif Microsoft Word Help 1 January 26th 06 04:32 PM
Does Word have a QuickCorrect/Quick Word option like WordPerfect? CW New Users 2 December 20th 05 05:54 PM
How do I set right and left alignment on the same line in Word? Matador Page Layout 1 November 9th 05 08:32 PM


All times are GMT +1. The time now is 06:55 AM.

Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"