The method of using field codes to insert page numbers in Word is as follows:
1. Add a table
Double-click at the footer , making the footer editable.
Click "Insert" - "Table" to insert a table with "two columns and one row" and adjust the height of the table.
(The table is inserted here to facilitate the alignment of page numbers)
2. Enter the page number in the first column
and position the cursor at In the first cell of the table, set the alignment to "Centered".
First enter "Page of Pages", position the cursor between "Page", press [Ctrl F9] twice to insert two blank fields {{{}}} (Note: This brace cannot be entered manually ).
Enter {={page}*2-1} between {{{}}}, right-click, and select "Update Domain" in the pop-up shortcut menu.
Press [Ctrl F9] twice to insert {{{}} between "Total Pages".
Enter {={numpages}*2} between {{{}}}, right-click, and select "Update Domain" in the pop-up shortcut menu.
3. Enter the page number in the second column
Position the cursor in the second cell of the table and set "center alignment".
Use the same method to enter "{={page}*2} pages of {={numpges}*2} pages" respectively, and then "Update domain".
4. Remove the table border line
Select the table in the footer, click "Start" - "Paragraph" - "Border", set to " No frame lines”.
Double-click in the area other than the footer to exit the editing state. In this way, adding page numbers to the column is completed.
For more technical articles related to Word, please visit the Word Tutorial column to learn!
The above is the detailed content of How to use field code to set page number in word. For more information, please follow other related articles on the PHP Chinese website!

This article details methods for inserting checkmarks into Microsoft Word text boxes. It explains two primary approaches: using the "Symbols" feature (via the "Insert" tab) and directly inserting from the "Symbols" grou

This article details how to create a Word table of contents visually resembling a table. It explains a workaround involving converting the automatically generated TOC to a table, then customizing its appearance using table formatting options. The m

This article addresses how to remove blank pages from the beginning of Word documents. The main issue is hidden formatting, primarily section breaks and extra paragraph marks. Solutions involve using the "Show/Hide" feature to identify an

This article addresses common Microsoft Word image-centering problems. Incorrect text wrapping, paragraph alignment, table cell alignment, conflicting styles, and section breaks are identified as frequent causes. Troubleshooting steps involve check

This article addresses how to delete blank pages in Word documents. It details troubleshooting steps, including checking for hidden paragraph marks, page breaks, section breaks, and hidden text/objects. Solutions for persistent issues and preventat

This article explains how to add checkmarks to Microsoft Word text boxes. It details two methods: inserting a static checkmark symbol using the "Insert Symbol" feature, and creating a functional checkbox using form fields. The simplest me

This article explains how to create and update automatic page numbers in a Word table of contents. It details using heading styles, the "Update Field" function, and pre-defined/custom styles to control page number appearance and formatting

This article explains how to create a table of contents (TOC) in Microsoft Word on mobile devices. It details the process, emphasizing the importance of correctly formatted headings. While automatic generation is possible, mobile TOC creation has li


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version
Visual web development tools

Notepad++7.3.1
Easy-to-use and free code editor

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft
