Applies To
Excel for Microsoft 365 Word for Microsoft 365 Outlook for Microsoft 365 PowerPoint for Microsoft 365 Excel for Microsoft 365 for Mac Word for Microsoft 365 for Mac PowerPoint for Microsoft 365 for Mac Excel for the web Word for the web PowerPoint for the web Excel 2024 Word 2024 Outlook 2024 PowerPoint 2024 Excel 2024 for Mac Word 2024 for Mac PowerPoint 2024 for Mac Excel 2021 Word 2021 Outlook 2021 PowerPoint 2021 Excel 2021 for Mac Word 2021 for Mac PowerPoint 2021 for Mac Microsoft365.com Microsoft Office

You can change the look of a line shape by changing its color, line style, or weight. If you are using Excel, Outlook, Word, or PowerPoint, you can apply a predefined Quick Style to quickly change the look of your line. 

What do you want to do?

Add a Quick Style to a line

Quick Styles for lines include theme colors from the document theme, shadows, line styles, gradients, and three-dimensional (3-D) perspectives. When you position your pointer over a Quick Style thumbnail, you can see how the style affects your line. Try different Quick Styles until you find one that you like.

  1. Select the line you want to change.

    If you want to change multiple lines, select the first line, and then press and hold Ctrl while you select the other lines.

  2. On the Shape Format tab, select the

  3. you want.

    Screenshot of Word Shape Format tab with Shape styles.

    To see more Quick Styles, select the More themes button icon. More button.

    Note: If you don't see the Shape Format tab, make sure you've selected the line.

Top of Page

Change the color of a line

  1. Select the line that you want to change.

    If you want to change multiple lines, select the first line, and then press and hold Ctrl while you select the other lines.

  2. On the Shape Format tab, select  Shape outline button Shape Outline, then select the color that you want.

    Screenshot of Shape Outline color gallery.

    Note: If you don't see the Shape Format tab, make sure you've selected the line.

    To use a color that isn't a theme color, select More Outline Colors, and then select the color you want on the Standard tab, or mix your own color on the Custom tab. Custom colors and colors on the Standard tab are not updated if you later change the document theme.

Top of Page

Make a line dotted or dashed

  1. Select the line you want to change.

    If you want to change multiple lines, select the first line, and then press and hold Ctrl while you select the other lines.

  2. On the Shape Format tab, select  Shape outline button Shape Outline.

    Note: If you don't see the Shape Format tab, make sure you've selected the line.

  3. Point to Dashes, and then select the style you want.

    Screenshot Shape Outline showing Dashes selection.

    To create a custom style, select More Lines, then choose the options that you want.

Top of Page

Change the weight of a line

  1. Select the line that you want to change.

    If you want to change multiple lines, select the first line, and then press and hold Ctrl while you select the other lines.

  2. On the Shape Format tab, select  Shape outline button ​​​​​​​Shape Outline.

    Note: If you don't see the Shape Format tab, make sure you've selected the line.

  3. Point at Weight, then select the line weight that you want.

    ​​​​​​​ Screenshot of Shape Outline with Weight selected.

    To create a custom line weight, select More Lines, and then choose the options that you want.

    Note: To draw a double line, draw a single line, copy and paste a second line next to it, and then group the two lines.

Top of Page

Format cell borders in Excel

If you want to apply line styles and colors to borders in Excel spreadsheets or tables, see the following articles:

Top of Page

See Also

Draw or delete a line or connector

Format the bar chart of a Gantt Chart view in Project

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.