Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Word Automation - Table of Contents
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)
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