cafesraka.blogg.se

How to format page numbers in word header
How to format page numbers in word header













  1. How to format page numbers in word header how to#
  2. How to format page numbers in word header plus#

Set oRng =. Optional strPlacement As String = "Footers")įor lngHF = 1 To oHDs.Count '.Footers.Count Sub AllOtherSectionSetup(ByRef oSect As Section, ByRef lngIndex As Long, _ Range.Paragraphs(1).Alignment = wdAlignParagraphCenter Set oRng = '.PreviousĪ oRng, wdFieldSectionPages, PreserveFormatting:=False Set oRng = oFldQ.Code '. '.Previous '.PreviousĪ oRng, wdFieldPage, PreserveFormatting:=False Scroll down to the first page of the next section (where your chapters start) and click in the footer. Sub FirstSectionSetup(ByRef oSect As Section, Optional strPlacement As String = "Footers") To change to Roman Numerals, on the Insert Ribbon, in the Header & Footer Group, click on the arrow next to the Page Number icon and select Format Page Numbers to set the start at number and the style of numbering. Sections(lngIndex), lngIndex, strPlacementĪ = bUserSetting Sections(1), strPlacementĪllOtherSectionSetup.

how to format page numbers in word header

Sections(lngIndex).īUserSetting = įirstSectionSetup. Under Page Numbering, choose Start At and then select. & "Enter ""H"" to place section numbering in headers.", "Placement", "F")) With the number still highlighted, choose Page Number from the top menu, then select Format Page Numbers. Select Case UCase(InputBox("Enter ""F"" to place section numbering in footers." _ 'Developed by Greg Maxey and Doug Robbins. The illustration below depicts dual numbering in section 1:

how to format page numbers in word header

Section 1 contains two pages, section 2 contains three pages and section 3 contains three pages. Note: I use the term "content section" to differentiate and define a document section formed with section breaks consisting of like content (e.g., Marketing, Sales, etc.) from sections formed with section breaks for the purpose of document layout (e.g., page orientation, etc.)įor this demonstration I have used an eight page document containing three sections. Z is the total number of pages in an individual "content" section.

how to format page numbers in word header

Y is the total number of pages in the document.Where X is the page number referenced to Y or Z.

How to format page numbers in word header how to#

Sometimes people ask: How to display both "Page X of Y Pages" and "Page X of Z Pages" in the header/footer of a document? The Word MVP FAQ site has several helpful articles on page numbering: Numbering FAQs Dual Page Numbering In Word, you can apply header of footer by clicking on Insert -> Header -> Edit header.

How to format page numbers in word header plus#

This Microsoft Word Tips & Microsoft Word Help page provides some helpful links to page numbering reference material plus some tips of my own. Headers and footers are generally repeated on every page.















How to format page numbers in word header