Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: The Line that Won't Go Away.

The Line that Won't Go Away

by Allen Wyatt
(last updated January 27, 2017)

19

Word, by default, takes some liberties with what you type. One such liberty is the adding of borders to paragraphs based on what you type. For instance, if you type three underlines on a new line, and then press Enter, you get a solid line that extends the width of your document. This is not the only three characters that result in this type of replacement—characters for lines—but if you don't know the source of the line, it can be frustrating.

This feature of Word is controlled by following these steps:

  1. Choose AutoCorrect from the Tools menu. (Choose AutoCorrect Options from the Tools menu if you are using Word 2002 or Word 2003.) Word displays the AutoCorrect dialog box.
  2. Make sure the AutoFormat As You Type tab is selected. (See Figure 1.)
  3. Figure 1. The AutoFormat As You Type tab of the AutoCorrect dialog box.

  4. Note the Borders checkbox. (In Word 2002 and Word 2003 it is called the Border Lines checkbox.) If cleared, Word does not automatically create lines; if it is selected, Word will behave as described earlier in this tip. Set the checkbox as desired.
  5. Click on OK.

Now that you know what causes the lines, you may be wondering how to get rid of them once they are in your document.

As with any AutoFormat that is applied by Word, you can undo the change by pressing Ctrl+Z right after the change is made. For instance, if you press three underlines and then Enter, Word changes the underlines to a line. You can undo this by immediately pressing Ctrl+Z.

If you later want to delete the line, there are two things you can do that will help you. First, remember that the "line" added by Word is really a paragraph border; it is not a real line. Second, you need to display Word's non-printing characters. (You do this by clicking on the Show/Hide tool on the toolbar, or by choosing Tools | Options | View tab, and clicking on All.)

Now you are ready to get rid of the lines. Start by positioning the insertion point at the beginning of the paragraph that has the border and pressing Ctrl+Q. This resets the paragraph's formatting back to its default, which usually does not include the border. If this does not do what you want, you can always select the entire paragraph that contains the border and simply delete it.

There is something else to remember when getting rid of borders created by AutoFormat: They can affect multiple paragraphs. For instance, consider the following scenario, which you can try in a document:

  1. On a blank line, enter three underlines and press Enter. Word converts them to a border underneath the paragraph.
  2. Press the Up Arrow once. This should place the insertion point at the beginning of the paragraph that now has the underline.
  3. Press Enter two times. It appears as if you have moved the underline down two lines, since the insertion point is still at the beginning of the paragraph that has the underline.
  4. Press Ctrl+Q. The underline appears to not go away, but jumps up a line.

Why did this happen? The reason is quite simple. Since the "line" is really a paragraph border, it appears at the bottom of the last paragraph that has that format. When you pressed Enter twice, in step 3, you ended up with three paragraphs, each formatted with a border underneath. However, Word only displays the border of the last paragraph formatted with that border, even though all three have it. (Word translates the border as one that appears under the group of like-formatted paragraphs, not one that appears under each individual paragraph.) When you performed step 4, the border was removed from the last of the three paragraphs, but it still remained on the other two. Thus, the border appeared to "jump up" a line. All that really happened was that Word dutifully displayed the bottom border on the last paragraph with that format, which now happens to be the second of the original three paragraphs.

To get rid of the border on all the paragraphs, you need to select all the paragraphs and press Ctrl+Q. If you don't want to do this (perhaps you don't want to remove some other explicit paragraph formatting you have), you can follow these steps:

  1. Select all the paragraphs in your document by pressing Ctrl+A.
  2. Choose Borders and Shading from the Format menu. Word displays the Borders and Shading dialog box.
  3. Make sure the Borders tab is selected. (See Figure 2.)
  4. Figure 2. The Borders tab of the Borders and Shading dialog box.

  5. Click on the None setting.
  6. Click on OK.

These steps remove all borders from all paragraphs and tables within the document. If there are some borders you really want to keep, then you should simply modify step 1 so that you select only those paragraphs that have borders you want to get rid of.

For more information on getting rid of stubborn lines that Word automatically adds to your document, see the following page at the Word MVP site:

http://wordmvp.com/FAQs/Formatting/CantGetRidOfLine.htm

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1918) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: The Line that Won't Go Away.

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

Pulling Cell Names into VBA

Excel allows you to define names that can refer to either ranges of cells or to constant information, such as formulas. If ...

Discover More

Turning Off Automatic Numbered Lists

Type what Word thinks is a numbered list, and it will helpfully format the text to match what it thinks your numbered list ...

Discover More

Formatting the Border of a Legend

When you create a chart, Excel often includes a legend with the chart. You can format several attributes of the legend's ...

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 WordTips (menu)

Borders on Multiple Paragraphs with Differing Indents

When you place a border around a paragraph, the position of that border is determined, partially, by the indent with which ...

Discover More

Creating a Full-Page Border

Borders are easy to add around text or entire paragraphs. It may be surprising to you to learn that Word can just as easily ...

Discover More

Using Text As a Page Border

Word allows you to add page borders to a document, but you might find the options in this area too limiting. What if you want ...

Discover More
Subscribe

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

View most recent newsletter.

Comments

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. Maximum image size is 6Mpixels. 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 7 + 6?

2017-04-12 21:40:18

Cam

Not ancient but actually very current. THANK YOU! I downloaded my Google Doc into Word + it created borders around paragraphs in about 40 pages. Took me hours to figure this out + this article nailed it for me.


2017-01-31 08:41:53

allen@sharonparq.com

Aggie & Brian: The site isn't totally ancient; it just covers software versions that are becoming more ancient with time. ;-)

Believe it or not, there are still MANY people using these ancient versions of Word. That's why I leave this information here. It is also why I provide links -- at both the beginning and end of the tip above -- to this information using the more modern versions of Word.

-Allen


2017-01-31 08:16:31

Aggie

This site is totally ancient! But it indeed works! Thanks


2016-10-09 19:22:07

Brian

This site seems ancient but the tip still worked! Thanks!


2016-09-18 18:21:17

Ken

I could not get your instructions to work at all! It was very very important to but no damn use at all! I am very disappointed to say the least. I have lines across my letter and can't seem to get rid of them! Using Word 2007, this is a letter to the States Attorney of Delaware! I used 2003 for years and had no problems...now I cannot write a simple letter.


2016-07-29 15:59:28

April

I have problems in Word tables when I want only the bottom cell line (as in a form) and at a page break the top cell line appears from the previous line at the bottom of the prior page. If I take the top cell line off, the bottom cell line on the previous page also turns off. How can I prevent this?


2015-07-11 00:11:13

Melvin Vega

these red border lines of this box are appearing all of the sudden in my pages how do i get rid of them. just like the ones on this box


2015-07-07 10:34:25

V. S. Okhde

Thanks A lot. The article clearly explained as to where from the line came, and also provided useful tips to get rid of that line. I followed the instructions and could remove the line. Thanks once again.


2015-04-13 07:43:09

ayusoft

thanks and God bless you


2014-11-14 05:35:04

Babu

Great!!! Thank you very much for this article. I was working on an issue for some time, but not able to get a fix. After reading this article, i fixed the issue quickly. Thanks again.


2014-11-10 21:03:39

KR

Awesome!!! Just yesterday I wrecked my brain how to get rid of some stupid lines I had in a document - without managing to do that and ended up re-creating the document. Today when looking for a solution to another problem I came across this. THANK YOU!!!


2014-09-30 21:28:47

Shehan

You saved my day. Thank you very much.


2014-09-09 14:38:33

Matt

Thanks for this. This one had me stumped.


2014-05-30 15:02:53

KC

THANK YOU!!!


2014-05-28 09:15:31

Lillie

It works swell!! (think Lady & the Tramp) Thanks!


2014-05-21 02:49:09

Jean

It did not work for me. It just moves the line down -- it does not get rid of it. I need help!


2014-04-28 09:03:44

Alexandra

Excellent Help - thankyou!


2014-04-02 15:26:57

Kevin

My Word 2003 starts all new documents with an underscore mark. How do I get rid of this?


2013-02-15 12:47:04

jmelnich

Thank you so much, Allen. The Control Q function fixed what was a very frustrating headache.


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, 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.