2010年12月16日星期四

Create a header only on the first page, and footer only on the last page of the document template

Last time, someone had a problem - there was a need to create a peer is only the first page header, and footer only on the last page of the document template. The number of pages of this document template should be variable, that is, you do not do any settings, headers and footers are in the entire document will be the first and last page appears.

The challenge of this problem is only in the home page, and the header, footer last page appears, and the rest of the pages do not appear. Can adopt a proposal is to use the endnote, it usually appears in the final document. But it needs to be reminded that, first of all, endnote does not appear in the bottom of the last page in the last paragraph but with the back; Second, a endnote text to be attached to the comments, which would be easily removed . A good method is to first page footer in the use of non-check after the last page of the input text.

Therefore, whether or not Home Page Footer footer you need to insert the "domain" statement:

{IF {PAGE} = {NUMPAGES} This text only appears on the last page "}

Tip: In fact you do not need to manually enter the {}, just hold down the Ctrl and F9 key to get the empty braces. In which the conventional input and the equal sign. After being elected in the field, press Alt and F9 keys, you will see the results generated by the code domain.

When trying this method is likely to encounter a problem, even if you set for the header and footer "different first page" but still can not move the text footer template. The trick here is to use page breaks in the template was the second page, so as to achieve access to non-page header and footer of the results.

Headers and footers have been set, delete the page break. At this time a document template will be recorded into separate header and footer page. Remember that before you save the document, hold down Alt and F9 keys to ensure that the results obtained not only shows the domain is the code (and other users will see the code). Finally, select "Tools" "Options", "Print" "Update fields" button.

没有评论:

发表评论