General information
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only