How to Get Rid of the Line That Pops Up When Typing Multiple Hyphens in a Microsoft Word File - Hungerford Technologies

Blog

How to Get Rid of the Line That Pops Up When Typing Multiple Hyphens in a Microsoft Word File

Adding a horizontal line is easy in Microsoft Word. You just need to type three or more consecutive hyphens and press Enter. Word will then convert the hyphens into a horizontal line that runs across the page. You can also add other types of horizontal lines the same way. For example, you can use equal signs to create a double line or tildes to create a zigzag line.

While adding a line this way is quick, trying to later delete it can be frustrating. That’s because it is no longer a string of characters. It is a border line. Although you can use the “Undo” button to get rid of the line, it won’t work if you reached the undo functionality’s limit. (By default, you can only undo your last 100 actions.) Nor will the “Undo” button work if you closed and then reopened the document.

The Most Effective Way to Get Rid of Border Lines

A surefire way to get rid of a border line is to use Word’s “Borders” functionality. Follow these steps:

  1. Place your mouse cursor above the border line you want to remove.
  2. Find the “Borders” button (the button with the image of a small grid) in the “Paragraph” section of the app’s ribbon.
  3. Click the downward-facing arrow next to the “Borders” button.
  4. Select “No Border” from the list that appears, as Figure 1 shows.

The border line will then disappear.

How to Stop Word from Automatically Creating Border Lines

If you find that you often accidentally create these border lines, you can tell Word not to automatically create them. In Word 2010 and later versions, you can do this in just a few of steps:

  1. Type three hyphens and press Enter.
  2. Click the icon that appears next to the border line Word just created.
  3. Select “Stop Automatically Creating Border Lines” from the menu that appears.

If you change your mind, you can bring back the functionality by doing the following:

  1. Select the “File” tab in the app’s ribbon.
  2. Click “Options” in the menu on the left to bring up the “Word Options” box.
  3. Choose “Proofing” in the menu on the left.
  4. Click the “AutoCorrect Options” button to bring up the “AutoCorrect” box.
  5. Select the “AutoFormat As You Type” tab.
  6. Check the “Border lines” box in the “Apply as you type” section.
  7. Click “OK” in the “AutoCorrect” box.
  8. Click “OK” in the “Word Options” box.