To create a header or footer

  1. On the File menu, click Page Setup.
  2. In the Header or Footer box, type the letter and character combination from the following table:
    To Type
    Insert the open file's name or "(untitled)" if the file has no name. &f
    Insert the date. &d
    Insert the time specified by your computer's clock. &t
    Insert page numbers. &p
    Insert an ampersand (&). &&
    Align the header or footer to the left, center, or right. &l, &c, or &r

Notes