Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mail Merge Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Mail Merge Problem
Divers
Thread ID:
00887201
Message ID:
00887201
Vues:
74
Hello,

This is my code:

oMW=Createobject("word.application")
oMW.documents.open('Letter.doc')
oDoc = oMW.activedocument
oDoc.mailmerge.execute

When it tries to execute the mail merge I get Ole Dispatch Error: "This method or property not available because the document is not a mail merge main document"

The doc was created in Word 2003, the datasource dbf is correct and the merge fields are in place on the document.

Help!

Many thanks,

Todd
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson

Great advice from a questionable source...
Répondre
Fil
Voir

Click here to load this message in the networking platform