How to Create AutoCorrect Entries for Superscript and Subscript Text in Word
Question details
The user wants to configure Microsoft Word's AutoCorrect feature to automatically insert pre-formatted superscript or subscript text, such as automatically converting 'm2' into 'm²'.
- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Creating custom AutoCorrect shortcuts for frequently used scientific, mathematical, or chemical notations that require specific text formatting.
- Observed behavior
- Word allows users to save specific formatted text elements into the AutoCorrect dictionary so they automatically convert and retain their styling upon typing the assigned shortcut.
Ensure you have already typed the exact superscript or subscript text and formatted it correctly in your document before opening the AutoCorrect dialog box.
Set Up Formatted Text in AutoCorrect
Create an AutoCorrect entry that specifically retains superscript or subscript formatting instead of pasting plain text.
By default, AutoCorrect replaces typed words with plain text. To insert superscripts (like m²) or subscripts (like H₂O), you must instruct Word to save the entry as 'Formatted text'.
Type your text (for example, 'm2') in a Word document. Highlight only the character you want to change (the '2') and apply superscript or subscript formatting from the Font section of the Home tab.
Select the entire text string with the applied formatting (e.g., 'm²') and copy it to your clipboard (Ctrl+C).
Navigate to File > Options > Proofing. Click on the 'AutoCorrect Options' button to open the settings dialog.
In the AutoCorrect tab, select the 'Formatted text' radio button above the 'With' field (your copied text should appear here). In the 'Replace' field, enter your shortcut trigger (e.g., 'm2'). Click 'Add', then click 'OK' to save your changes.
Use WPS Writer to Manage AutoCorrect Entries
WPS Office Writer offers a streamlined AutoCorrect feature that easily handles superscript, subscript, and other formatted text replacements for your professional documents.
- 1. Format your text: Type and apply superscript or subscript formatting to your text directly in your WPS Writer document, then copy the formatted text.
- 2. Access Options: Click the global Menu button in the top left, select 'Options', and navigate to the 'Spell Check' or 'AutoCorrect' settings.
- 3. Add Formatted Entry: Choose the 'Formatted text' option, enter your specific trigger keyword in the replace box, and add it to your custom dictionary.

Frequently Asked Questions
Why is the 'Formatted text' option grayed out in AutoCorrect?
This usually happens if you haven't copied or selected any text within your document before opening the AutoCorrect dialog box. You must highlight the fully formatted text in your document first.
Can I use AutoCorrect for chemical formulas like H2O?
Yes. You can format the '2' as a subscript in your document, copy the correctly formatted 'H₂O', and add it as a formatted text AutoCorrect entry using 'H2O' as your replacement trigger.
How do I stop AutoCorrect from replacing a specific word?
Go to File > Options > Proofing > AutoCorrect Options. Scroll through the replacement list, find the entry you no longer want (e.g., m2), select it, and click the 'Delete' button.




