-
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
-
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/