Saturday, June 4, 2022

Insert a page number in a header or footer

If you want page numbers to print in the header or footer of the form when users print it, use AutoText codes in the Insert Header and Insert Footer dialog boxes.

  1. On the View menu, click Header and Footer.

  2. Click the Print Settings tab.

  3. Under Headers and Footers, click Header or Footer.

  4. In the Insert AutoText box, do one of the following:

    • To print the current page number in the header or footer, click Current Page.

    • To print the total number of printed pages in the header or footer, click Total Pages.

      Tip: You can combine the Current Page and Total Page variables with static text. For example, to print "Page x of y" in the footer, where x is the current page and y is the total number of pages, type Page &p of &P in the Print form with this footer box. When the users print the form, footer text such as "Page 1 of 1" will appear in the lower-left corner of the form.

  5. To test how your changes will look on the printed form, click Print Preview on the Standard toolbar.

    Note: Headers and footers appear only in the Print Preview window and in the printed form, and will not appear in the regular Preview window.

No comments:

Post a Comment