Select a position (left, center, or right, and header or footer). Tip: You might have to move some graphics or other elements in your header or footer to see the page numbers after you insert them. Go to Header & Footer > Close Header and Footer or double-click outside the header to exit. Choose the alignment you want and select OK. To change the numbering alignment, go to Header & Footer > Page Number > Page Number. Select the format you want, and then select OK. To change the numbering format, go to Header & Footer > Page Number > Format Page Numbers. In the Field names list, Select Page, and then select OK.
Use the Page field code to insert page numbersĭouble-click the header or the footer area (near the top or bottom of the page). On the Home tab, use the Font choices and dialog box to change the font family, style, size, and color. To go back, press Backspace until in position. If the number is flush left, press Tab once for center, and twice for right. Use the Tab key to position the page number left, center, or right. In the header or footer area, select the page number. Add page numbers to a header or footerĬlick or tap in the header or footer where you want the page numbers to go. Select OK twice to close both dialog boxes.įor more info on page numbers, see Page numbering in Word. To change the numbering style, select Format and then choose the formatting you want to use. Word automatically numbers every page, except designated title pages. Select a location, and then pick an alignment style. On the Insert tab, click the Page Number icon, and then click Page Number. Tip: To get back to a header or footer to make changes, double-click in the header or footer area. When you’re done, select Close Header and Footer or press Esc. If you want numbering to start with 1 on the second page, go to Page Number > Format Page Numbers, and set Start at to 0. If you don’t want a page number to appear on the first page, select Different First Page.
Select Insert > Page Number, and then choose the location and style you want.
The syntax of the full mail merge number field code with the switch is: The merge codes may appear in quotes or double quotes. Number switches start with \# and the codes that follow represent the format for the number. Since # specifies the minimum numeric places to display, if a place has no digit, it is replaced with a space. You can also enter commas (,), decimals (.) and currency signs ($). The # code will be replaced by a digit only if it is not a leading or trailing zero. Codes entered in switches can contain multiple parts separated by semi-colons: The common codes used in a number switch are 0 for a required digit and # for a variable number.
Related article: How to Use Mail Merge in Microsoft Word to Generate Form Lettersĭo you want to learn more about Microsoft Word? Check out our virtual classroom or live classroom Word courses > Using codes in a number field switch You can use switches to change the format of a number field to display currency symbols as well as commas or decimals.Ī number field is typically inserted in the main document using Insert Merge Field on the Mailings tab in the Ribbon. Number formatting issues typically occur when the source document for the mail merge is an Excel workbook or Access database. You can change or fix the format of a number field in a Word mail merge document using switches in field codes. Change the Format of a Number Field in a Microsoft Word Mail Merge Document Using Switchesīy Avantix Learning Team | Updated January 16, 2021Īpplies to: Microsoft ® Word ® 2010, 2013, 2016, 2019 and 365 (Windows)