How to Re-Enable Automatic Border Lines in Microsoft Word
Question details
The user wants to restore the AutoFormat feature in Microsoft Word that automatically converts a series of typed hyphens into a solid horizontal border line.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- The user is typing multiple hyphens and pressing Enter, expecting a horizontal line to appear, but the automatic formatting has been disabled.
- Observed behavior
- The typed hyphens remain as standard text characters instead of automatically converting into a continuous horizontal border line.
Ensure you have a document open in Microsoft Word to access the application's Options menu. This setting applies globally, so enabling it in one document will restore the feature for all future documents.
Enable Border Lines in AutoCorrect Options
Modify the AutoFormat As You Type settings to restore automatic horizontal lines.
Microsoft Word controls automatic line generation through its AutoCorrect configurations. If you or an update previously turned this off, navigating through the Proofing options is the only way to reactivate it.
Click on the 'File' tab in the top-left corner of the Word ribbon, then select 'Options' at the bottom of the left-hand menu.
In the Word Options dialog box, select 'Proofing' from the left-hand navigation pane.
Click the 'AutoCorrect Options...' button located on the right side under the 'AutoCorrect options' section.
Switch to the 'AutoFormat As You Type' tab. Under the 'Apply as you type' section, check the box next to 'Border lines'.
Click 'OK' in the AutoCorrect dialog, then click 'OK' again in the Word Options dialog to save and apply your changes.

Easily Create Automatic Border Lines in WPS Writer
WPS Writer is a free, lightweight word processor that fully supports automatic formatting. You can quickly generate horizontal border lines by typing hyphens, just like in Microsoft Word, while enjoying seamless compatibility with your existing documents.
- 1. Open WPS Writer: Launch WPS Office and create a new Writer document or open an existing one.
- 2. Type the Shortcut: On a new line, type three consecutive hyphens (---).
- 3. Press Enter: Press the Enter key. WPS Writer's built-in AutoFormat feature will instantly convert the hyphens into a clean, edge-to-edge horizontal border line.

Frequently Asked Questions
What shortcuts can I use to draw different types of horizontal lines?
Besides typing three hyphens (---) for a standard thin line, you can type three underscores (___) for a bold line, three equal signs (===) for a double line, three asterisks (***) for a dotted line, or three tildes (~~~) for a wavy line, followed by pressing Enter.
How do I remove an automatic horizontal line once it is created?
Since the automatic line functions as a paragraph border rather than a drawn shape, you can remove it by placing your cursor directly above the line, navigating to the Home tab, clicking the Borders dropdown icon in the Paragraph group, and selecting 'No Border'.
Why did my AutoFormat settings get disabled in the first place?
AutoFormat settings can sometimes be disabled if another user changed the preferences, during a major Office update, or if you accidentally clicked the small AutoCorrect Options lightning bolt icon that appears right after drawing a line and clicked 'Stop Automatically Creating Border Lines'.




