Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00690920
Message ID:
00690990
Vues:
16
Hi Dave.

loDocument.MailMerge.OpenDataSource( lcResultFile, 0, .f.,,.f.,.t.,,,,,,"Entire Spreadsheet" )

Try This:

*** And connect the spreadsheet to the document as its data source
loDocument.MailMerge.OpenDataSource( lcResultFile, ;
0, 0, 0, 1, 0, "", "", 0, "", "", "Entire Spreadsheet", "", "" )

This works in Word XP. You did not say which version of word you are automating
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform