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.

Drawing Lines

by Allen Wyatt
(last updated December 5, 2015)

1

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:

  1. Select a line weight and type by clicking on the Line Style tool on the toolbar.
  2. Click on the line tool.
  3. Position the mouse pointer where one end of the line is to be located.
  4. Click and hold the mouse button.
  5. Drag the mouse until the line is the desired length.
  6. Release the mouse button.

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.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Hiding a Huge Number of Rows

Need to hide a large number of rows? It's easy to do if you combine a few keyboard shortcuts. Here are several techniques you ...

Discover More

Specifying a Language for Text

Need to format a paragraph (or some selected text) so that it is a language other than English? You can do so easily by ...

Discover More

Running a Macro when a Worksheet is Activated

Want to run a macro when you first select a worksheet? You can do so by using one of the event handlers built into Excel, as ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

MORE EXCELTIPS (MENU)

Hiding Graphics

Graphics are a great addition to a worksheet, but there may be times when you don't want them printed. The easy way to handle ...

Discover More

Protecting a Graphic

Need to make sure that someone cannot delete a graphic in a worksheet? The ability to protect the graphic depends on where ...

Discover More

Changing the Size of a Graphic

Adding a graphic to a worksheet is easy. Getting that graphic to just the right size may take a little bit of trial and ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments for this tip:

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is three minus 1?

2015-12-10 22:08:49

Dave Onorato

Hint: If you also hold the Shift key as you draw a line, it becomes perfectly vertical, horizontal or diagonal on 45°.
And, it works on any shape. Hold shift while drawing an oval and it becomes a perfect circle, rectangles become squares, etc.
And this works across the MS Office apps, most every version!


This Site

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.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.

Links and Sharing