Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

Looking for List of Text Converters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gilley - 10 Dec 2004 14:35 GMT
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
Gilley - 10 Dec 2004 20:11 GMT
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

> Hello all,
>
[quoted text clipped - 22 lines]
> Regards,
> Gilley

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.