Written by Allen Wyatt (last updated February 21, 2025)
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.
Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!
Creating simple drawing objects is easy in Excel. All you need to do is use the large number of drawing tools available ...
Discover MoreWant to add some spice to the graphics in your worksheets? There are many colors and effects in Excel that allow you take ...
Discover MoreEver wanted to create a simple drawing in your worksheet? Excel has made this simple. This tip explains how Excel uses ...
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