View Single Post
 
Old 02-11-2016, 06:40 AM
rocky2 rocky2 is offline Windows 10 Office 2013
Novice
 
Join Date: Feb 2016
Posts: 25
rocky2 is on a distinguished road
Default

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
Reply With Quote