Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation - Table of Contents
Message
From
23/09/2002 16:58:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Word Automation - Table of Contents
Miscellaneous
Thread ID:
00703543
Message ID:
00703543
Views:
61
I am trying to create a table of contents using OLE and Microsoft Word through VFP7. I am using standard headers to identify the entries.
Everything worked fine until I began putting section breaks in my code.
Now it seems that the table of contents that is generated is limited to the entries that appear in the last section. This is the code I use to create the table of contents. I have looked for other parameters but there do not seem to be any which would be useful. Any thoughts ?

oRange = oDoc.Range(0,0)
oDoc.TablesOfContents.Add(oRange,6,8)
Reply
Map
View

Click here to load this message in the networking platform