How to remove or clear formatting in word?
When you are editing a document, sometimes you may need to remove or clear all formatting from the selection, leaving only the plain text in your document. This tutorial will introduce you some methods to remove all formatting from document in Word.
Remove all formatting with Clear Formatting
Remove all formatting with VBA
Recommended Productivity Tools for Word
Kutools for Word: Integrating AI 🤖, over 100 advanced features save 50% of your document handling time.Free Download
Office Tab: Introduces the browser-like tabs to Word (and other Office tools), simplifying multi-document navigation.Free Download
Remove formatting with Clear Formatting
Office Tab: Brings tabbed interfaces to Word, Excel, PowerPoint... |
Enhance your workflow now. Read More Free Download
|
Step 1: Select a part of the document you want to remove all formatting or press shortcuts CTRL+ A to select the whole document if you need to remove formatting from entire document.
Step 2: Then apply Clear Formatting as follows:
Note: This function cannot remove the formatting made by , and .
Remove all formatting with VBA
You can also use a VBA code to remove all formatting from the document in Word.
Step 1: Press Alt+F11 to open the VBA (Microsoft Visual Basic for Applications) window in Word;
Step 2: Click Module in Insert tab, and insert the VBA code into Module window;
Step 3: Click Run button to apply the VBA code (or press F5);
VBA: remove all formatting from the active document.
Sub ClrFmtg()
ActiveDocument.Select
Selection.ClearFormatting
End Sub
Note: Before you use this code to remove formatting, you need to select the part you want to remove formatting in your document. This code cannot remove the formatting made by , and . And this code just can remove the formatting from all texts.
Kutools for Word, a handy add-in, includes groups of tools to ease your work and enhance your ability of processing word document. Free Trial for 45 days! Get It Now!
VBA: remove all formatting from specified paragraph in document.
Sub ClrFmtg2()
ActiveDocument.Range(Start:=ActiveDocument.Paragraphs(2).Range.Start, _
End:=ActiveDocument.Paragraphs(4).Range.End).Select
Selection.ClearFormatting
End Sub
Note: this VBA will remove all formatting between paragraph 2 and paragraph 4. You can specify the paragraph number in the code.This code cannot remove the formatting made by , and .
Best Office Productivity Tools
Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!
🤖 Kutools AI Assistant: Transform your writing with AI - Generate Content / Rewrite Text / Summarize Documents / Inquire for Information based on Document, all within Word
📘 Document Mastery: Split Pages / Merge Documents / Export Selection in Various Formats (PDF/TXT/DOC/HTML...) / Batch Convert to PDF / Export Pages as Images / Print Multiple Files at once...
✏ Contents Editing: Batch Find and Replace across Multiple Files / Resize All Pictures / Transpose Table Rows and Columns / Convert Table to Text...
🧹 Effortless Clean: Sweap away Extra Spaces / Section Breaks / All Headers / Text Boxes / Hyperlinks / For more removing tools, head to the Remove group...
➕ Creative Inserts: Insert Thousand Separators / Check Boxes / Radio Buttons / QR Code / Barcode / Diagonal Line Table / Equation Caption / Image Caption / Table Caption / Multiple Pictures / Discover more in the Insert group...
🔍 Precision Selections: Pinpoint Specific Pages / Tables / Shapes / Heading Paragraphs / Enhance navigation with more Select features...
⭐ Star Enhancements: Navigate to Any Location / Auto-Insert Repetitive Text / Toggle Between Document Windows / 11 Conversion Tools...