Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mailmerge: Word x Excel
Message
 
To
11/03/2006 14:43:48
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01102783
Message ID:
01103553
Views:
18
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform