Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Document Creation
Message
From
06/05/2003 10:46:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Word Document Creation
Miscellaneous
Thread ID:
00785389
Message ID:
00785389
Views:
53
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
Map
View

Click here to load this message in the networking platform