Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

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.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!