MailMerge.OpenDataSource Problem !

P

Philippe_Dsf

Execute_$ = CheminWork$ + "Second.doc"

Requete$ = "SELECT * FROM " + Execute_$ + " WHER
((Identification_de_la_correspondance = '" + Criteres$ + "'))"


ActiveDocument.MailMerge.OpenDataSource Name:=Execute_$, _
ConfirmConversions:=False, ReadOnly:=False, LinkToSource:=True
_
AddToRecentFiles:=False, PasswordDocument:=""
PasswordTemplate:="", _
WritePasswordDocument:="", WritePasswordTemplate:=""
Revert:=False, _
Format:=wdOpenFormatAuto, _
SQLStatement:=Requete$, SQLStatement1:=""

The problem is when I execute the last ligne the MailMerge I lost al
my DOcument import. My document content a link to another document wit
Sign for my letter, but after this command I loose the link ? Why

Phi
 

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