Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code to Mail Merge with Word?
Message
De
15/04/2012 17:26:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Code to Mail Merge with Word?
Versions des environnements
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Divers
Thread ID:
01541578
Message ID:
01541578
Vues:
61
Hello All,

I have a mail merge document in Word and have created the Excel file that feeds it.

Once I have the document open in Word
oleApp = Createobject("Word.Application")
With oleApp
.DisplayAlerts = .F.
.Visible=.T.
.Documents.Open(m.dir+"GUESTLABELS.DOC")

I can't seem to get the code to work to tell it to merge the document and print.

Any suggestions are greatly appreciated!

Thanks,
Martha
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform