Re: Word 2003 SaveAs wdFormatDOSText bug

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Klaus,

Well, I may have spoken too soon. Now we get ? wherever a non-breaking
space was, whereas in previous versions of Word we got a space. I posted
another thread, Saveas wdFormatText problem (Word 2003), with more detail to
the microsoft.public.word.conversions group to see if anyone has a
workaround.

Thanks again,
-c


"Klaus Linke" <info@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:uAUqaSfRFHA.1528@xxxxxxxxxxxxxxxxxxxxxxx
"cp" <cp@notrealdotcom> wrote:
> I added the AllowSubstitutions=TRUE parameter to the SaveAs method and it
> converted or removed characters like non-breaking space that were causing
> problems. That should correct our problem.

The non-breaking space was available in the DOS code pages I remember (at
&xFF/255). I hate it when Word's export filters remove or change stuff
uncontrollably, but it seems it helped you here ;-)

> To determine that Word was using FileFormat=100, I just recorded a macro
> doing a saveas and that's what it put in the Macro.

I didn't get that, but Word probably chooses a sensible code page from your
Windows regional/language settings or the like.

Regards,
Klaus


.