How to Show Only Styles Used in the Current Word Document
Question details
The user wants to filter the Styles pane to display only the styles that are actively applied to text in the document, rather than showing all styles inherited from the document template.

- Product
- Microsoft Word 365
- Device & OS
- not provided
- Scenario
- Organizing the Styles pane to easily find and apply active formatting without being distracted by unused template styles.
- Observed behavior
- Even when filtered to show styles 'In current document', Word 365 continues to display template styles that have never been used in the active document.
Before running a VBA macro to delete unused styles, save a backup copy of your document to prevent the accidental loss of important custom formatting.
Run a VBA Macro to Delete Unused Styles
Use a custom Visual Basic macro to force the removal of custom styles that are not actively being used in the document.
Microsoft Word considers styles from attached templates to be 'in use' regardless of whether they are applied to text. Running this VBA script will iterate through your document and delete non-built-in styles where the 'InUse' property is false.
Note that this is a known limitation in Word; the software will still retain standard built-in styles even after the script successfully executes.
Press 'Alt + F11' on your keyboard while in Word to open the Visual Basic for Applications (VBA) editor.
In the top menu, click 'Insert' and then select 'Module' to open a blank coding window.
Copy and paste the following code into the module window: Sub RemoveUnusedStyles() Dim oStyle As Style For Each oStyle In ActiveDocument.Styles If oStyle.InUse = False Then oStyle.Delete Next oStyle Set oStyle = Nothing End Sub
Press 'F5' or click the green 'Run' button in the toolbar to execute the macro and clean up unused custom styles.

Create a Clean Document Template
Start new documents from a stripped-down template to prevent unwanted styles from being inherited in the first place.
Try WPS Office for Simplified Document Formatting
If Microsoft Word's style management limitations are slowing you down, try WPS Office. It provides an intuitive, lightweight alternative with powerful formatting tools and excellent compatibility.
- 1. Download WPS Office: Visit the official WPS website and download the free WPS Office suite for your operating system.
- 2. Install the Software: Run the installation file and follow the on-screen prompts to set up the application.
- 3. Open Your Document: Launch WPS Writer and open your existing Word document to experience simplified formatting and style control.

Frequently Asked Questions
Why does the 'In current document' filter still show unused styles?
Word defines 'In current document' as any style that is technically available to the document via its attached template, regardless of whether that style is actively applied to the text.
Can I permanently delete default built-in Word styles?
No, Microsoft Word does not allow you to permanently delete default built-in styles like Normal or standard Headings, though you can hide them from the Quick Style gallery.
How can I request a stricter style filter from Microsoft?
You can submit feedback and feature requests directly to Microsoft by opening Word, navigating to 'File' > 'Feedback', and explaining your requirement for stricter style filtering.




