Format a table

After you create a table, Microsoft Office Word 2007 offers you many ways to format that table. If you decide to use Table Styles, you can format your table all at once, and even see a preview of what your table will look like formatted in a particular style before you actually apply the style.

You can create a custom look for tables by splitting or merging cells, adding or deleting columns or rows, or adding borders. If you're working with a long table, you can repeat the table headings on each page on which the table appears. To prevent awkward page breaks that disrupt the flow of your table, you can also specify just how and where the table should break across pages.

What do you want to do?

Use Table Styles to format an entire table

After you create a table, you can format the entire table by using Table Styles. By resting your pointer over each of the preformatted table styles, you can preview what the table will look like.

  1. Click in the table that you want to format.
  2. Under Table Tools, click the Design tab.
  3. In the Table Styles group, rest the pointer over each table style until you find a style that you want to use.

Note: To see more styles, click the More arrow

Add or remove borders

You can add or remove borders to format a table the way that you want.

Add table borders

  1. Under Table Tools, click the Layout tab.
  2. In the Table group, click Select, and then click Select Table.
  3. Under Table Tools, click the Design tab.
  4. In the Table Styles group, click Borders, and then do one of the following:

Remove table borders from the whole table

  1. Under Table Tools, click the Layout tab.
  2. In the Table group, click Select, and then click Select Table.
  3. Under Table Tools, click the Design tab.
  4. In the Table Styles group, click Borders, and then click No Border.

Add table borders to specified cells only

  1. On the Home tab, in the Paragraph group, click Show/Hide.

Remove table borders from specified cells only

  1. On the Home tab, in the Paragraph group, click Show/Hide.

Display or hide gridlines

Gridlines show the cell boundaries of a table on the screen wherever the table doesn't have borders applied. If you hide the gridlines in a table that has borders, you won't see the change because the gridlines are behind the borders. To view the gridlines, remove the borders.

Unlike borders, gridlines appear only on the screen; they are never printed. If you turn off gridlines, the table is displayed as it will be printed.

Note: Gridlines are not visible when you view a document in a Web browser or in Print Preview.

Display or hide table gridlines in a document

Add a cell, row, or column

Add a cell

  1. Click in a cell that is located just to the right of or above where you want to insert a cell.
  2. Under Table Tools, on the Layout tab, click the Rows & Columns Dialog Box Launcher.
  3. Click one of the following options:

Shift cells right

Insert a cell and move all other cells in that row to the right.

Note: This option may result in a row that has more cells than the other rows.

Shift cells down

Insert a cell and move remaining existing cells in that column down one row each. A new row will be added at the bottom of the table to contain the last existing cell.

Insert entire row

Insert a row just above the cell that you clicked in.

Insert entire column

Insert a column just to the right of the cell that you clicked in.

Add a row

  1. Click in a cell that is located just below or above where you want to add a row.
  2. Under Table Tools, click the Layout tab.
  3. Do one of the following:

Add a column

  1. Click in a cell that is located just to the right or left of where you want to add a column.
  2. Under Table Tools, click the Layout tab.
  3. Do one of the following:

Delete a cell, row, or column

  1. Do one of the following:
To select Do this
A cell Click the left edge of the cell.

Merge or split cells

Merge cells

You can combine two or more cells in the same row or column into a single cell. For example, you can merge several cells horizontally to create a table heading that spans several columns.

  1. Select the cells that you want to merge by clicking the left edge of a cell and then dragging across the other cells that you want.
  2. Under Table Tools, on the Layout tab, in the Merge group, click Merge Cells.

Split cells

  1. Click in a cell, or select multiple cells that you want to split.
  2. Under Table Tools, on the Layout tab, in the Merge group, click Split Cells.
  3. Enter the number of columns or rows that you want to split the selected cells into.

Repeat a table heading on subsequent pages

When you work with a very long table, it will be divided wherever a page break occurs. You can make adjustments to the table so that the table headings are repeated on each page.

Repeated table headings are visible only in Print Layout view and when you print the document.

  1. Select the heading row or rows. The selection must include the first row of the table.
  2. Under Table Tools, on the Layout tab, in the Data group, click Repeat Header Rows.

Note: Word automatically repeats the table headings on each new page that results from an automatic page break. Word does not repeat a heading if you insert a manual page break within a table.

Control where a table is divided

When you work with a very long table, it must be divided wherever a page break occurs. By default, if a page break occurs within a large row, Microsoft Word allows a page break to divide the row between the two pages.

You can make adjustments to the table to make sure that the information appears as you want it to when the table spans multiple pages.

Prevent a table row from breaking across pages

  1. Click in the table.
  2. Under Table Tools, click the Layout tab.
  3. In the Table group, click Properties, and then click the Row tab.
  4. Clear the Allow row to break across pages check box.

Force a table to break across pages at a particular row

  1. Click in the row that you want to appear on the next page.
  2. Press CTRL+ENTER.