Opening a MS-DOS Text file with VBA 
Author Message
 Opening a MS-DOS Text file with VBA

I would like to open a simple MS-DOS Text file with VBA, but the only
Formats I can see are wdOpenFormatAuto, wdOpenFormatDocument,
wdOpenFormatRTF, wdOpenFormatTemplate, wdOpenFormatText and
wdOpenFormatUnicodeText.

Using wdOpenFormatAuto assumes ANSI, but the file is ASCII coded, so
accented characters are turned into special characters.

Using Format:=FileConverters(wdFormatDOSText).OpenFormat (try to find
this in the online help - good luck!) is of some help, but this one
assumes MS-DOS text with layout giving me lots of (wrong) formatting,
section breaks and the like.

Can someone help me to do this seemingly easy task (without being asked
for the file type, that is with ConfirmConversions=False)?

Thanks a lot in advance!
Wolfgang Hutter <><

F-Up to microsoft.public.word.conversions
--
Dr. Wolfgang Hutter, Dr.Erich-Koehler-Str. 6, 89129 Langenau, Germany

WWW: http://www.*-*-*.com/ ~whutter/



Thu, 19 Oct 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Opening Text Document - MS-DOS Format (*.txt)

2. Word 97: open MS-DOS-Text programmatically

3. Converting very simple MS-DOS batch file to VBA

4. Access 97 Convert to MS Dos Text file - ending spaces

5. Word 2000 to MS-DOS Layout with Text (.asc) file

6. Exporting tables to delimited MS-DOS text files, using modules

7. outputting an access report to MS Dos text file

8. Automatic Insert a MS-DOS Text file

9. MS-DOS Text to MS-Word full ASCII

10. MS Office 2000 Documents open in MS-DOS Mode


 
Powered by phpBB® Forum Software © phpBB Group