Add, change, or remove cell borders

Excel provides different ways to add, change, and remove cell borders. Some border formatting options take only a single click.

Do any of the following:

Apply a pre-defined cell border

  1. On a sheet, select the cell or range of cells where you want to add or change the borders.

  2. On the Home tab, under Font, click Border  Knappen Kanttype , and then click the cell border that you want to apply.

    Tip: To add or remove parts of a border, on the Home tab, under Font, click Border  Knappen Kanttype , and then click Border Options. Under Border, click the borders that you want to add or remove.

Remove a cell border

  1. Select the cell or range of cells where you want to remove the borders.

  2. On the Home tab, under Font, click Border  Knappen Kanttype , and then click No Border.

Create a custom border

Use cell styles to create a custom border that you can easily apply over and over again.

  1. On the Home tab, under Format, point to a style and then click  Nedadgående pil Mere .

  2. Click New Cell Style.

  3. In the Style name box, type a name for your new cell style.

  4. Click Format.

  5. Do any of the following:

To

Do this

Choose a custom border line style

On the Border tab, under Style, click the line style that you want to apply, and then under Border, click the specific pieces of the cell border to apply the line style to.

Choose a custom border line color

On the Border tab, under Color, click the color that you want to apply, and then under Border, click the specific pieces of the cell border to apply the color to.

  1. Click OK.

    Tip: To apply your new cell style, select the cells that you want to change, and then on the Home tab, under Format, click the style.

See also

Show or hide gridlines on a sheet

Highlight data points with conditional formatting

Merge or split cells or cell contents

Del Facebook Facebook Twitter Twitter Mail Mail

Var disse oplysninger nyttige?

Fantastisk! Har du mere feedback?

Hvordan kan vi forbedre det?

Tak for din feedback!

×