Written by Allen Wyatt (last updated August 23, 2025)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365
Veronica has a document that has been edited, on and off, for years. Various editors have copied text from other documents into the document and, in the process, copied lots of different styles. Veronica needs a quick way to delete all the styles that are not used within the document.
When it comes to deleting unused styles, there is no such thing as a "quick way." It would be nice if Microsoft were to provide such a method, but such is not the case. You can try to create a macro to do the work, such as this one:
Sub DeleteUnusedStyles() Dim oStyle As Style For Each oStyle In ActiveDocument.Styles 'Only check out non-built-in styles If oStyle.BuiltIn = False Then With ActiveDocument.Content.Find .ClearFormatting .Style = oStyle.NameLocal .Execute FindText:="", Format:=True If .Found = False Then oStyle.Delete End With End If Next oStyle End Sub
This is actually a macro I published years ago, way back for Word 2003. There are limits to what such a macro can do. It steps through every style in a document and, if the style is not built-in, it uses Find and Replace to try to locate the style. If the style isn't found, then it is deleted.
The "limits" of which I spoke have to do with the fact that there can be hundreds of styles in a document, especially in documents like Veronica describes. If each style has to be searched for, then the macro can take a very long time to run—on the order of an hour or more. Plus, if the document is quite complex, the macro can actually hang and never finish running. You can see all of these ills described in the comments to the old tip I mentioned:
https://word.tips.net/T001337
Rhonda Bracey described her attempts to delete unused styles on her blog several years ago. She even mentioned the same macro I show above. You can find a very helpful recounting of her efforts here:
https://cybertext.wordpress.com/2022/02/23/word-deleting-many-unused-styles-at-once/
Does all of this mean that a macro to do the deletion could not be developed? No, not really. You could develop a macro, but it would be much more complex than the simple one shown above. If you take the time to read all the comments to my old macro-based tip mentioned above, you can see such attempts.
There may be a simpler, non-macro approach that could be used, however. Here are the general steps that could be tried:
These steps are feasible if the number of styles you see after step 6 is relatively short. If it is not short, there is one other thing you can try. Use Save As (F12) to save your document in RTF format. The export process used by Word should only include those styles actually in use in your document. Then get out of Word entirely and restart the program. Now, load the RTF file and again use Save As to save it as a Word document. The resulting document should only include Word's built-in styles (which you can never delete) and those custom styles in use within the document.
Note:
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13342) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365.
Do More in Less Time! An easy-to-understand guide to the more advanced features available in the Microsoft 365 version of Word. Enhance the quality of your documents and boost productivity in any field with this in-depth resource. Complete your Word-related tasks more efficiently as you unlock lesser-known tools and learn to quickly access the features you need. Check out Microsoft 365 Word For Professionals For Dummies today!
Ever want to enable spell checking in all of the styles within a document, but don't want to check each and every one ...
Discover MoreIf you use styles to format your text, you can later search for words and phrases that are formatted using various ...
Discover MoreWant to see what styles are defined in your document? Let Word print out a simplistic style sheet for you.
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2025-08-23 07:18:34
Dr. Bartolo
I have for many years now used an add-in created by Greg Maxey called "Style Report" (which I cannot see mentioned in the earlier tip mentioned here). I use it to do what is described in this tip. The website where the add-in can be found (https://gregmaxey.com/word_tip_pages/style_report_addin.html) describes the add-in like this:
"With Style Report, users can quickly loop through the style collection and with the user interface provided make a decision to keep or delete the styles used in a document or previously used styles that are not applied to any text. [When] finished, Style Report summarises user actions and reports style status."
Have look if interested. I am not affiliated with Greg, and I give no guarantee that this will work for anyone reading this comment. But I have used this add-in successfully for a long time!
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments