Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mailmerge: Word x Excel
Message
 
À
11/03/2006 14:43:48
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01102783
Message ID:
01103553
Vues:
17
Fernando,

I was not able to reply via email because of:
*Remote host said: rs121858@via-rs.net: Recipient address rejected:
*User unknown in virtual alias table

So I am retyping my reply here:

Hi Fernando,

As far as I see, the MS Word document "Informe de Rendimentos
Financeiros.doc" was created as the mailMerge document, and with the data
source, "informe de rendimentos financeiros.xls".

Thus, when you open "Informe de Rendimentos Financeiros.doc", it is
altready connected to the Excel file. And then the Word refuses to
connect to already opened datasource (it is what I see if I run your
code while putting both files in the very same directory).

It is not quite clear to me, why do you need to connect again?
Do you wish to edit the data source?
Or you have the initial Word document like a form/template, and you wish
like in the MailMerge, connect to the datasource and to populate the
fields on the form? If so, please, send to me that initial form/template.





>Thanks so much, Yuri, already sent you the email.
>
>Best regards,
>
>Fernando
>
>>Fernando,
>>
>>Yes, send to me the package containing all files needed to reproduce the problem. I will see whether I can help.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform