Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Drawing Lines.
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 the easiest way to create your line:
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2460) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Drawing Lines.
Best-Selling VBA Tutorial for Beginners Take your Excel knowledge to the next level. With a little background in VBA programming, you can go well beyond basic spreadsheets and functions. Use macros to reduce errors, save time, and integrate with other Microsoft applications. Fully updated for the latest version of Office 365. Check out Microsoft 365 Excel VBA Programming For Dummies today!
If you need to arrange a group of graphics so that they are evenly distributed between a starting point and an ending ...
Discover MoreFilling an AutoShape with a picture of your choosing is a neat trick. Excel makes it easy to do.
Discover MoreIf you use Excel's graphic capabilities to insert a line or an arrow into a worksheet, you can change how that arrow ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2026-10-24 05:30:55
TWall
Hello,
Perhaps an explanation regarding the use of the SHIFT key when drawing a line is missing.
If Excel determines that the line can be horizontal, it will draw it as such; furthermore, if you move the end of the line (without ever releasing the mouse button), you can snap it to angles of ±45°, ±90°, ±135°, or -180°.
When the SHIFT key is used, a line that has already been drawn retains its angle while allowing its length to be adjusted.
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2026 Sharon Parq Associates, Inc.
Comments