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.
Program Successfully in Excel! This guide will provide you with all the information you need to automate any task in Excel and save time and effort. Learn how to extend Excel's functionality with VBA to create solutions not possible with the standard features. Includes latest information for Excel 2024 and Microsoft 365. Check out Mastering Excel VBA Programming today!
Excel provides a couple of different ways that you can quickly duplicate drawing objects in a worksheet. Committing these ...
Discover MoreFilling one of Excel's drawing shapes with a picture of your choosing is a neat trick. Here's how to do it.
Discover MoreDon't like the way a drawing object looks? Perhaps flipping the object could help appearances. Excel allows you to flip ...
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