search
HomeTopicswordHow to use field code to set page number in word

How to use field code to set page number in word

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)

How to use field code to set page number in word

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.

How to use field code to set page number in word

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".

How to use field code to set page number in word

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!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How to set the tick symbol in the word boxHow to set the tick symbol in the word boxMar 07, 2025 pm 02:29 PM

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

How to make a word directory into a table styleHow to make a word directory into a table styleMar 07, 2025 pm 02:36 PM

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

How to delete blank pages on wordHow to delete blank pages on wordMar 07, 2025 pm 02:31 PM

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

What is the reason why the word picture is not in the middle?What is the reason why the word picture is not in the middle?Mar 07, 2025 pm 02:33 PM

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

How to delete blank pages in wordHow to delete blank pages in wordMar 07, 2025 pm 02:38 PM

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

How to set the correct number in the word boxHow to set the correct number in the word boxMar 07, 2025 pm 02:37 PM

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

How to create page code for word directoryHow to create page code for word directoryMar 07, 2025 pm 02:40 PM

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

How to create a mobile phone word directoryHow to create a mobile phone word directoryMar 07, 2025 pm 02:35 PM

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

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft