Written by Allen Wyatt (last updated August 7, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021
Excel provides tools that allow you to create a number of shapes that were previously only available through the use of a drawing program. One of these shapes is a line. (Yes, the simple line!) Here's how you add one to your worksheet:
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10086) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Excel here: Drawing Lines.
Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!
Add a drawing object to your worksheet, and at some point, you may want to change that object's size. You can easily ...
Discover MoreAdding a shape to your workbook is easy. If you want to fill the shape with a color, you'll want to follow the ...
Discover MoreExcel allows you to create all sorts of drawings using a wide assortment of tools. When you need to take an action upon ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2021-08-07 21:20:30
Ronmio
If you want the line to be perfectly horizontal or vertical (or inbetween in 45° steps), just position the end of the line at approximately the desired angle and hold down the shift key while letting up on the mouse button. The line will snap to precisely the angle you want.
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments