Applies ToỨng dụng khách Project Online trên Máy tính để bàn Project Professional 2024 Project Standard 2024 Project Professional 2021 Project Standard 2021 Project Professional 2019 Project Standard 2019 Project Professional 2016 Project Standard 2016

To make your printed Microsoft Project pages more useful and professional-looking, you can add information such as your company name or logo, page numbers, date and time, a file name, or project-specific information to the header or footer of a printed view or report. You can also add information to a project's legend.

By default, the legend appears on every page of a printed Calendar view, Gantt Chart view, or Network Diagram view. However, you can choose not to print the legend at all or to print it on a separate page.

Headers and footers are view-specific and report-specific; legends are view-specific only. For example, if you add information to the header, footer, or legend of the Gantt Chart view, this information does not appear in the Network Diagram view.

Note: This article does not discuss how to create headers, footers, or legends for the visual reports feature in Microsoft Project. Because visual reports are created in Microsoft Excel and Visio, use these programs to change the header, footer, or legend.

What do you want to do?

Add a header, footer, or legend to a view

  1. In the File tab, click Print, then click Page Setup.

  2. On the Header, Footer, or Legend tab, click the Left, Center, or Right tab.

  3. In the text box, type or paste the text, add the document or project information, or insert or paste a graphic.

    To add page numbers, click Insert Page Number Insert Page Number graphic, Insert Total Page Count Insert Page Count graphic, or both.

    To add the current date or time, click Insert Current Date Insert Current Date graphic, Insert Current Time Insert Current Time image, or both.

    To add the file name, click Insert File Name Insert File Name graphic.

    To add a graphic, click Insert Picture Insert Picture graphic.

  4. To format preset information, select the ampersand (&), or select the text that you want to format, click Format Text Font Format Text Font button, and then select the formatting options that you want.

  5. To add project-specific information, click the information that you want in the General and Project fields boxes, and then click Add for each entry. Repeat this step to add more project information.

Tip: You can customize the fields and bars that appear in the legend by using the Bar Styles dialog box. See Customize printing of a legend or title for more information.

Notes: 

  • You can create multiple-line headers, footers, and legends. At the end of the first line of text or information, press Enter. To add lines after a picture, click the picture, place the cursor after the picture, and then press Enter. Headers can have up to five lines of information. Footers and legends can have up to three lines.

  • You can choose to have the legend appear on every page, on its own page, or not at all. In the File tab, click Print, click Page Setup, and then click the Legend tab. Under Legend on, click Every page, Legend page, or None. See Customize printing of a legend or title for more information.

  • The header and footer that you set will appear on every page. You cannot specify that they appear differently on the first page versus subsequent pages, appear differently on odd or even pages, or appear differently on individual pages.

  • You can adjust the width of the legend's text box from 0 to 5 inches.

  • You can use the shortcut menu to move text, information, or a picture from one tab to another. Select the text, information, or picture that you want to move, right-click, and then click Cut or Copy on the shortcut menu. Place the cursor on the tab that you want, right-click, and then click Paste on the shortcut menu.

  • You can resize a graphic after you add it to a header, footer, or legend by selecting the graphic and dragging its border. To move the graphic, select it and drag it to another location. You cannot crop a graphic.

Add a header or footer to a report

  1. In the Report tab, click Reports.

  2. Click the report you want.

  3. In the Design tab, click the Margins dropdown menu and click on Custom Margins... at the bottom.

  4. Click the Header or Footer tab.

  5. Click the Left, Center, or Right tab.

  6. In the text box, type or paste the text, add document or project information, or insert or paste a graphic.

    To add page numbers, click Insert Page Number Insert Page Number graphic, Insert Total Page Count Insert Page Count graphic, or both.

    To add the current date or time, click Insert Current Date Insert Current Date graphic, Insert Current Time Insert Current Time image, or both.

    To add the file name, click Insert File Name Insert File Name graphic.

    To add a graphic, click Insert Picture Insert Picture graphic.

  7. To format preset information, select the ampersand (&) or select the text that you want to format, click Format Text Font Format Text Font button, and then select the formatting options that you want.

  8. To add project-specific information, click the information that you want in the General and Project fields boxes, and then click Add for each entry. Repeat this step to add more project information.

Tip: You can customize the fields and bars that appear in the legend by using the Bar Styles dialog box. With the Resource Graph or Gantt Chart view displayed, in the Format tab, click the Format dropdown menu in the Bar Styles section and click Bar Styles. In the Name column, type an asterisk (*) before the name of the field that you do not want to appear in the printed legend.

Notes: 

  • You can choose to have the legend appear on every page, on its own page, or not at all. On the File menu, click Page Setup, and then click the Legend tab. Under Legend on, click Every page, Legend page, or None.

  • The header and footer that you set will appear on every page. You cannot specify that they appear differently on the first page versus subsequent pages, appear differently on odd or even pages, or appear differently on individual pages.

  • You can adjust the width of the legend's text box from 0 to 5 inches.

  • You can use the shortcut menu to move text, information, or a picture from one tab to another. Select the text, information, or picture that you want to move, right-click, and then click Cut or Copy on the shortcut menu. Place the cursor on the tab that you want, right-click, and then click Paste on the shortcut menu.

  • You can resize a graphic after it is added to a header, footer, or legend by selecting the graphic and dragging its border. To move the graphic, select it and drag it to another location. You cannot crop a graphic.

Bạn cần thêm trợ giúp?

Bạn muốn xem các tùy chọn khác?

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.