Information générale
Titre:
Word Document Creation
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement