Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code to Mail Merge with Word?
Message
From
17/04/2012 09:18:01
 
 
To
16/04/2012 14:32:24
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01541578
Message ID:
01541818
Views:
45
>Hi Tamar,
>
>Thank you for your response.
>
>I did find that link while doing some searching on my own, but it doesn't seem to address the problem I'm having.
>
>The following code used to work, then I'm assuming a newer version of Word may have come into play and now it fails at:
>.Destination = wdSendToPrinter (Error: 'Destination' is not a by reference property)
>

Hmm, this page (http://msdn.microsoft.com/en-us/library/ff845069.aspx) shows that MailMerge.Destination is read/write in Word 2010, as you'd expected.

Have you tried stepping through the code and trying to set this property from the Command Window just to see what's possible?

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform