Office Settings & Configuration

How to Show Only Styles Used in the Current Word Document

Bushra ParveenBushra Parveen Nov 2, 2026 871 views

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.

How to Show Only Styles Used in the Current Word Document
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 you start

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.

Solution 1Recommended

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.

1
Open the VBA Editor

Press 'Alt + F11' on your keyboard while in Word to open the Visual Basic for Applications (VBA) editor.

2
Insert a New Module

In the top menu, click 'Insert' and then select 'Module' to open a blank coding window.

3
Paste the Cleanup Code

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

4
Run the Macro

Press 'F5' or click the green 'Run' button in the toolbar to execute the macro and clean up unused custom styles.

Run a VBA Macro to Delete Unused Styles
Built-in Styles Limitation: This macro cannot permanently delete default built-in Word styles (like Normal or Heading 1) due to Microsoft Office system constraints.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website and download the free WPS Office suite for your operating system.
  2. 2. Install the Software: Run the installation file and follow the on-screen prompts to set up the application.
  3. 3. Open Your Document: Launch WPS Writer and open your existing Word document to experience simplified formatting and style control.
Intuitive style management and formatting tools tailored for professional documents.Fully compatible with Microsoft Word formats, including .docx and .dotx.Lightweight architecture ensures fast loading and seamless document editing.Completely free to use with a user-friendly interface that requires no learning curve.
microsoft office alternative - wps office

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.