Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Mail Merge
Message
 
À
21/04/2012 14:22:44
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows 7
Divers
Thread ID:
01542272
Message ID:
01542326
Vues:
61
>Thanks Borislav! That works great. One little issue is a prompt that comes up "Select Table", showing Sheet1$ with a checkbox "first row of data contains column header" which is checked by default.
>
>How would I control this to simply select "OK"?
>
>Gold stars are on their way to you!
>
>Thanks,
>Martha

Try:
oWord.ActiveDocument.MailMerge.OpenDataSource(m.dir+"data\labels.xls",,.f.,.f.,,,,,,,,,"SELECT * FROM [Sheet1$]")
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform