|
-
Jun 2nd, 2003, 02:33 AM
#1
Thread Starter
Member
Documents.Open
In my VBA word macro I want to open ASCII file which includes CE fonts.
I tried this:
Dim str As Document
Set str = Documents.Open("ce_text.txt", _ Encoding:=msoEncodingCentralEuropean)
It works fine in Word 2000, but it fails in Word 97 (parameter Encoding). I need a solution which works in word 2k and word 97.
Can you please help me?
Tomaz
-
Jun 12th, 2003, 12:43 AM
#2
Fanatic Member
I don't work with CE fonts, but I think this is a Word problem and not really a code problem. If the error is on the Encoding parameter, it is probably that Word 97 doesn't support the constant. Try setting up Word so that is excepts CE fonts. I found this on a quick Google search, but I don't know if it helps you much. http://studweb.euv-frankfurt-o.de/twardoch/f/en/win95/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|