J
Jarkko
Hi!
I have to modify a very long (about 200 pages) document and go through all
the headings in it. When I'm using wdRefTypeHeading in the following code,
it only stores the first 10 of the top level headings. All the headings
after that aren't stored in myHeadings, i.e. 11, 11.1..
Dim myHeadings As Variant
myHeadings = docMacro.GetCrossReferenceItems(wdRefTypeHeading)
It doesn't help if I remove some headings between headings 1-10. So, what
could be wrong, is there a limit of 10 H1's in wdRefTypeHeading or what?
-Jarkko
I have to modify a very long (about 200 pages) document and go through all
the headings in it. When I'm using wdRefTypeHeading in the following code,
it only stores the first 10 of the top level headings. All the headings
after that aren't stored in myHeadings, i.e. 11, 11.1..
Dim myHeadings As Variant
myHeadings = docMacro.GetCrossReferenceItems(wdRefTypeHeading)
It doesn't help if I remove some headings between headings 1-10. So, what
could be wrong, is there a limit of 10 H1's in wdRefTypeHeading or what?
-Jarkko