Looking for List of Text Converters

G

Gilley

Hello all,

I have a template in which there is a macro in Document_New(). The purpose
of this macro is to open a TXT file automatically with the correct file
converter (or encoder).

The problem I have run across is that I can't find a list of what the
coverters are referenced as programically. The converter I need to use is
listed in the File Conversion dialog as "OEM United States".

The TXT file is actually an export of invoices, purchase orders, sales
orders, etc from our DOS based accounting program. Within these files are
ASCII lines that I need to display as lines not characters in the Word based
version.

Sample of what I need:

┌────────┬────────────
│ORDER DT│ PO NUMBER

I am working in Word 2000 SP3.

Any help would be appreciated.

Regards,
Gilley
 
G

Gilley

Here is my code so you can see what I am needing.

Documents.Open FileName:="C:\cfdrpt.txt", _
Format:=wdOpenFormatText, Encoding:=msoEncodingibm437

I am needing the name of the text converter to replace 'msoEncodingibm437'.

Regards,
Gilley
 

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