Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word mail merge headaches
Message
De
14/07/2005 10:31:06
 
 
À
13/07/2005 16:14:29
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01032386
Message ID:
01032640
Vues:
13
The word document exists, the excel spreadsheet exists, and obviously knows it's supposed to be attached but word seems confused. any ideas?

This code works for me in both versions:
oDocument.MailMerge.OpenDataSource( lcExcelFile, ;
       0, 0, 0, 1, 0, "", "", 0, "", "", "Entire Spreadsheet", "", "", 0, 8 )
You may want to check out MSDN - this KB article may help:

Undocumented Expression for the OpenDataSource Method: SubType

PSS ID Number: 827891

Article Last Modified on 10/1/2003


--------------------------------------------------------------------------------
The information in this article applies to:


Microsoft Office Word 2003
Microsoft Visual Basic for Applications

--------------------------------------------------------------------------------

For a Microsoft Word 2002 version of this article, see 324378.

SUMMARY

Word 2003 includes an undocumented optional expression for the OpenDataSource method. This expression is named SubType.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform