Formatting Issues

How to Remove an Unwanted Line or Insert a Longer Dash in Word

John WilsonJohn Wilson Oct 19, 2026 887 views

Question details

The user needs to delete a persistent, unselectable horizontal line in a document and wants to know how to format or insert a longer dash (em dash).

How to Remove an Unwanted Line or Insert a Longer Dash in Word
Product
Microsoft Word
Device & OS
not provided
Scenario
Editing a manuscript where auto-formatting has unexpectedly created an unselectable horizontal line, or needing to properly insert an em dash into the text.
Observed behavior
An unwanted line or symbol cannot be highlighted or deleted using standard backspace or delete keys, and standard hyphens do not appear long enough for intended punctuation.
Before you start

Ensure you enable paragraph marks by clicking the Show/Hide ¶ button (or pressing Ctrl+Shift+8) on the Home tab to better visualize where paragraph borders might be applied.

Solution 1Recommended

Remove Auto-Formatted Paragraph Borders

The most common cause of an unselectable line in Word is the AutoFormat feature automatically converting typed hyphens or underscores into a bottom paragraph border.

When you type three or more hyphens and press Enter, Word's AutoFormat feature replaces them with a horizontal line that acts as a bottom border for the paragraph above it. Because it is a border and not a character, it cannot be deleted with the Backspace key.

1
Select the text

Place your cursor in the paragraph immediately above the unwanted horizontal line.

2
Access the Borders menu

Navigate to the Home tab on the top ribbon and locate the Paragraph group.

3
Remove the border

Click the dropdown arrow next to the Borders button (which usually looks like a window pane) and select 'No Border'.

Remove Auto-Formatted Paragraph Borders
Prevent Future Auto-Lines: To stop this from happening again, go to File > Options > Proofing > AutoCorrect Options. Under the 'AutoFormat As You Type' tab, uncheck the 'Border lines' box.
Manage Formatting Easily

Effortlessly Manage Paragraph Borders in WPS Writer

WPS Writer provides a streamlined and intuitive interface for managing paragraph styles, borders, and special characters. You can quickly remove unwanted lines or insert long dashes without navigating complex menus.

  1. 1. Open your file in WPS Writer: Launch WPS Office and open the document containing the unwanted line.
  2. 2. Select the target paragraph: Place your cursor in the text just above the stubborn horizontal line.
  3. 3. Remove paragraph borders: Go to the Home tab, find the Borders icon in the Paragraph section, and click 'No Border'.
Easily toggle paragraph borders on or off with a single click in the Home tab.Fully compatible with Microsoft Word (.docx, .doc) formatting.Quickly access a rich library of special characters and typography symbols.Lightweight, fast-loading, and completely free to use.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Word automatically create a line when I type hyphens?

Word features an 'AutoFormat As You Type' setting that automatically converts three or more consecutive hyphens, underscores, or equal signs into a paragraph border as soon as you press Enter.

How do I select a line in Word to delete it?

If the line was created using the Shapes tool (Insert > Shapes > Line), you can click on it to select it and press Delete. If clicking it does nothing, the line is likely a paragraph border, which must be removed using the Borders menu on the Home tab instead of the Delete key.

What is the difference between an en dash and an em dash?

An en dash (–) is slightly longer than a standard hyphen and is typically used to represent a range of numbers or dates. An em dash (—) is even longer and is used to indicate a break in thought, acting similarly to parentheses or a colon.