Yes, as stated, each section has three headers: Primary, FirstPage and OddEven. If the SETTING for first page and OddEven are unchecked (in Page Setting), then Primary is displayed for all pages in the section. Obviously if First Page is checked, then FirstPage is displayed; if Different Odd Even is checked OddEven is displayed for Even pages, and Primary is displayed for odd pages.
It does select the whole header, but I never used that in my codeBecause I took this line in your code. I thought I was selecting the whole header with it...
So there could be these comment tags in the header? As well as textboxes. This adds a fairly large amount of complexity. I am still confused about things. Are these `tags`to remain...or not.