General information
Category:
COM/DCOM and OLE Automation
Title:
Word Automation - Table of Contents
I am attempting to create a table of contents in a Word document using the MARKENTRY method. I am placing these statements at the same position in the code as I INSERTAFTER a heading. However, they all seem to accumulate in my document at the SECTION borders and therefore all point the page where the section number changes. I may have a section with 15 pages where I inserted 3 or 4 different TC entries using MARKENTRY but when I examine the Word document, they are all positioned right at the end of the section.
I have no HARD pagebreaks in my entire document, only section breaks (Next page type).
Any comments on this ?
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