
如何在pdf中插入页眉页脚

If you have a large spreadsheet in Excel, you may want to add page numbers. Doing so is easy, and you can even add them in the format of “Page X of Y”. Read on to find out how.
如果您在Excel中有一个很大的电子表格,则可能要添加页码。 这样做很容易,您甚至可以以“第X页,共Y页”的格式添加它们。 阅读,了解如何。
To begin, click the “Insert” tab.
首先,单击“插入”选项卡。

In the “Text” section, click “Header & Footer”.
在“文本”部分,单击“页眉和页脚”。

The “Design” tab under “Header & Footer Tools” displays. In the “Header & Footer Elements” section, click the “Page Number” button. A header is added to the spreadsheet and the cursor is put inside the header.
显示“页眉和页脚工具”下的“设计”选项卡。 在“页眉和页脚元素”部分中,单击“页码”按钮。 将标题添加到电子表格,并将光标放在标题内。

The code for the page number is inserted. Make sure the cursor is after the “&[Page]” text and add the word “of”, as shown below.
页码代码已插入。 确保光标位于“&[Page]”文本之后,并添加单词“ of”,如下所示。

To add a code that inserts the total number of pages in the document, click “Number of Pages” in the “Header & Footer Elements” section of the “Design” tab.
要添加在文档中插入总页数的代码,请在“设计”选项卡的“页眉和页脚元素”部分中单击“页数”。

You can also insert “Page X of Y” into the header by clicking the “Header” button in the “Header & Footer” section of the “Design” tab. Select “Page 1 of ?” from the drop-down menu.
您还可以通过单击“设计”选项卡的“页眉和页脚”部分中的“页眉”按钮,将“ Y的第X页”插入页眉。 选择“第1页?” 从下拉菜单中。

The “Page X of Y” text is inserted into the header and the main spreadsheet automatically becomes active again.
标题中将插入“第X页,共Y页”,主电子表格会自动再次激活。

Here we showed how to insert “Page X of Y” into the header, but the procedure is the same for the footer.
这里我们展示了如何在页眉中插入“ Y的第X页”,但是页脚的过程相同。
翻译自: https://www.howtogeek.com/230863/how-to-insert-page-x-of-y-into-a-header-or-footer-in-excel/
如何在pdf中插入页眉页脚