S
Stephan
I have a Prgram generating data in a text fromated file called bon.dat. In
this file german charcaters like äöü and french characters like éèç are
possible. This file is importet by a open macro and letters are created.
The statement in the macro
----------------------------------------------
ActiveDocument.MailMerge.OpenDataSource Name:="C:\fasos\TEMP\bon.dat", _
ConfirmConversions:=False, ReadOnly:=False, LinkToSource:=True, _
AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate:="", _
WritePasswordDocument:="", WritePasswordTemplate:="", Revert:=False, _
Format:=wdOpenFormatAuto, Connection:="", SQLStatement:="",
SQLStatement1 _
:=""
With ActiveDocument.MailMerge
.Destination = wdSendToNewDocument
.Execute
End With
----------------------------------------------
Dependent of the contents the loding fails. The contents of the file ist
interpretated as a chinese content and the latter has chinese characters
insted of germen or french.
HOW CAN I SET THE INTERPRETATION MODE OF THE IMPORT TO "WINDOWS(STANDARD)".
If I do this import by hand I will be asked about the mode to convert.
this file german charcaters like äöü and french characters like éèç are
possible. This file is importet by a open macro and letters are created.
The statement in the macro
----------------------------------------------
ActiveDocument.MailMerge.OpenDataSource Name:="C:\fasos\TEMP\bon.dat", _
ConfirmConversions:=False, ReadOnly:=False, LinkToSource:=True, _
AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate:="", _
WritePasswordDocument:="", WritePasswordTemplate:="", Revert:=False, _
Format:=wdOpenFormatAuto, Connection:="", SQLStatement:="",
SQLStatement1 _
:=""
With ActiveDocument.MailMerge
.Destination = wdSendToNewDocument
.Execute
End With
----------------------------------------------
Dependent of the contents the loding fails. The contents of the file ist
interpretated as a chinese content and the latter has chinese characters
insted of germen or french.
HOW CAN I SET THE INTERPRETATION MODE OF THE IMPORT TO "WINDOWS(STANDARD)".
If I do this import by hand I will be asked about the mode to convert.