Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code to Mail Merge with Word?
Message
De
16/04/2012 08:33:17
 
 
À
15/04/2012 17:26:31
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Divers
Thread ID:
01541578
Message ID:
01541619
Vues:
43
>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.

Mail merge is covered in this paper on my website: http://tomorrowssolutionsllc.com/Materials/AutomatingWord.html

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform