First, make sure you have a section break at the end of each chapter. It may not be working on some chapters because there is no section break.
Then the Different First Page option should work. If you need more flexibility for a particular chapter, you can uncheck Link to Previous for that chapter and the headers in that chapter will not affect or be affected by previous chapters.
I don't know of a macro-free way to define a global "landscape" and a global "portrait" header & footer and have them automatically be applied to all pages. That sounds like trying to define a page's font size based on its margins.
What you can do is divide your page into sections and format those. It sounds like you've already started down this path. I think the missing piece you're looking for is Link to Previous. When unchecked, this option allows you to assign a different header & footer to a given section. You can then assign an orientation to the section and both properties will stay in sync within that section.
That last bit is important. Synchronization won't occur across sections. Use this technique only if:
- The number of landscape & portrait sections in your document is small and doesn't change often. (An often-changing number of pages within a section is okay.)
Don't use this technique if:
- The number of landscape & portrait sections in your document is large or changes often.
- Your headers & footers change often. (Although this may not be a problem if the number of sections is small.)
- Maintainers of your document aren't comfortable working with sections.
Steps
- Start with a blank document.
- In the Home tab's Paragraph group, show formatting marks by checking Show/Hide ΒΆ.
Divide your document into sections by inserting several Next Page section breaks1:
- Page Layout > Breaks > Next Page.
- Repeat several times.
Orient each section as desired:
- Navigate the insertion point (blinking cursor) to a desired section.
Page Layout > Page Setup dialog box launcher > Margins:
- Orientation: Landscape.
- Apply to: This section.
- OK.
- Repeat for all desired sections.
For each section's header & footer, uncheck Link to Previous2:
- Navigate the insertion point (blinking cursor) to the document's second section (the first section has no previous section to link to).
- Right click in the section's header area and select Edit Header.
- The Design tab (part of the Header & Footer Tools) should appear. In its Navigation group, uncheck Link to Previous.
- Repeat for the footer (Go to Footer will help in this regard).
- Repeat for all sections (Next and Previous will help in this regard).
For each section's header & footer, fill in the desired text:
- Right click in the section's header area and select Edit Header.
- Type the desired text.
- Repeat for the footer.
- Repeat for all sections.
Once your document is set up this way, each section will have its own orientation, header, and footer, and will automatically apply those properties to all pages within it, even as those properties change.
Try it!
- Navigate the insertion point (blinking cursor) to any section.
Insert a new page:
- Page Layout > Breaks > Page3.
- Insert a hard return (newline) by pressing Enter.
- Note that the new page inherits its section's header & footer, and that any change made to the header or footer is applied to all other pages within that section.
1. You can later change these section breaks to be Continuous, Even Page, or Odd Page, but this initial setup will be far easier using whole pages.
2. There are also macros you can write to uncheck Link to Previous by default.
3. To insert a new page within a section, insert a new page break, not a Next Page section break.
Best Answer
When you want different headers/footers on different pages you need to work with section breaks.
Here is an article from Microsoft explaining. It is also explained here.
And here is an article from HowToGeek explaining "How To Use Multiple Headers and Footers in a Single Document".
BTW. If you are typing the chapter title manually in the header/footer you might want to consider using "dynamic text fields". This is explained here. That way when you change your chapter-name it's automatically changed in the header/footer.