Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Document Creation
Message
De
06/05/2003 10:46:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Word Document Creation
Divers
Thread ID:
00785389
Message ID:
00785389
Vues:
52
All

I'm new at creating Word Documents on the fly using VFP. I am trying to create a 11 row 6 column table. I know for a fact that we will have many instances of this particular table. I keep receiving an error message of the following line of code:

oWord.activedocument.tables.add(oWord.Selection.range,11,2)
&&11 rows and 2columns (oWord is the instance of the Word.Application)

It keeps telling me that there's an exception code and that "this method or property is not available because the object refers to the end of the table".

What am I doing wrong? Can someone please give me some advice?

Thanks!

Nicky
Elgin, IL
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform