Current location - Education and Training Encyclopedia - Graduation thesis - Certificates are a must! How to display the page number and total number of pages of a Word file from the middle page?
Certificates are a must! How to display the page number and total number of pages of a Word file from the middle page?
A colleague does a graduation thesis in Word format. Page 1-2 is the cover and table of contents, and page 3- 10 is the content of the paper, which needs to be displayed from page 1, with a total of 8 pages. Specifically, "Page * * *" is displayed in the footer. He asked me to help set it up. I'm not familiar with it. Of course, the network resources are very rich and can be referenced at any time. After searching, I found that there were many introductions, but none of them were complete. I synthesized these contents and tested them in many ways, and finally solved the problem. Hehe, in a good mood. I feel this thing is also very useful at ordinary times. Write it down, hoping to help yourself and others.

In WORD, position the insertion point at the end of the second page, select Insert-Delimiter in the menu to pop up the Delimiter menu, click Next in section break type and confirm.

Select the menu "View-Header and Footer", and the cursor will automatically be positioned at the header of page 3, and a menu will pop up. Select the footer, and "Same as the previous section" will be displayed in the upper right corner of the footer.

Click the link to previous section icon in the header and footer toolbar, and the same as the previous section disappears in the upper right corner of the footer.

In this way, the third page is completely separated from the first two pages, and you can enter the page number independently and count the total number of pages.

For beauty, enter the text "Page * * *" in the middle of the footer.

Directly press the Insert Page Number icon in the header and footer menu after "Number" to insert the page number, and press the Format Page Number icon to pop up the page number format menu. Select "Starting Page Number" as "1" in the page number arrangement, and the number of pages will be displayed as "1" to "8".

The total number of pages cannot be directly inserted by clicking the "Insert Page" icon in the "Header and Footer", so the total number of pages counted is 10 pages including the contents, not 8 pages of paper content. The total number of pages here can be inserted into the field.

Position the mouse at * * *, select Insert-Domain to pop up the domain menu, select = (formula), remove the check before "Keep original format when updating" and confirm.

Press OK, and the text in the footer will become "1 * * *! Exception Formula End Page ".

Don't be surprised at this time. In fact, this is just a line of domain code. Just press Alt+F9 to make it show its original shape, which is "Page {PAGE} * * {=}".

After the "=" symbol in this line of code, continue to insert the field. This time, the field we inserted is "SectionPages" in "number".

After insertion, the domain code becomes "Page {PAGE} * * {= {section pages}}". This solves the problem of the total number of pages.

Remember when we just restored the domain name to the code hotkey? By the way, it's Alt+F9. Press Alt+F9 again to execute the domain code, and you will get the specific number page number. At this point, the footer of the first page is displayed as "Page 65438 +0 ***8", as shown below.

Finally, you're done!