If you want to print your heading rows at the top of each page,

  1. Go to File > Page Setup and click on the Sheet tab.
  2. In the Rows to repeat at top box, you can type a value, or you can click on the “Collapse dialog” button (these are the icons at the extreme right of each area box in the Sheet dialog), select the rows.
  3. Click the Collapse dialog button again to come back to the Sheet dialog, and hit OK.