Thank you for your patience.
I have 2 places in the document in which I have a header in a page with a heading that has a style of Heading 1.
In those places I get the same thing:
If Len(strText) > 1 Select Case oHeader.Index
Case 1: 'Primary
and then
else Case oHeader.Index
Case 2: 'First Page
MsgBox "The first page header is empty"
I can't see any difference in the behavior on a page in which I have Heading 1 and a header vs. a page that has a Heading 1 with no header displayed.
Is there another hidden variable I can use?
Thanks,
Rocky
|