Skip to main content

Kutools for Office β€” One Suite. Five Tools. Get More Done.

How to select all heading paragraphs in Word?

Author Amanda Li Last modified

When working with a Word document, you may need to edit or delete all heading paragraphs at once. Manually selecting each heading can be tedious, especially in long documents. This tutorial introduces three efficient methods to quickly select all heading paragraphs in Word.

Select all heading paragraphs using Find and Replace

Select all heading paragraphs using Kutool for Word

Select all heading paragraphs using 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


Select all heading paragraphs using Find and Replace

The Find and Replace function in Word provides a straightforward way to locate and select heading paragraphs.

  1. Click Home > Find and select Advanced Find.
  2. Click the More button to expand the search options.
    Find and Replace dialog with more options displayed
  3. Click the Format button to display additional options, and select Style.
    Format drop-down menu
  4. Choose the heading style you want to find in the Find Style dialog box.
    Find Style dialog box
  5. Click Find In > Main Document to select all occurrences of the chosen heading style.
    Find and Replace dialog
Office Tab: Brings tabbed interfaces to Word, Excel, PowerPoint...
Navigate through documents using Office Tab
Enhance your workflow now.      Learn More about Office Tab       Free Download

Select all heading paragraphs using Kutool for Word

If you prefer a hassle-free method, Kutools for Word allows you to select all heading paragraphs with a single click. Once installed, follow these steps:

Kutools for Word, equipped with AI πŸ€–, offers over 100 handy features to simplify your tasks.
  1. Click Kutools > Select Paragraph > Select Heading Paragraphs.
    Select Heading Paragraphs option on the Kutools tab on the ribbon

For more details about the Paragraph Select feature of Kutools for Word, please visit our Select all kinds of paragraphs page.

Kutools for Word is the ultimate Word add-in that streamlines your work and boosts your document processing skills. Get It Now!

Select all heading paragraphs using VBA

For a faster approach, you can use VBA to automatically select all heading paragraphs in the document.

  1. Press Alt + F11 to open the Microsoft Visual Basic for Applications (VBA) editor.
  2. Click Module under the Insert tab, then copy and paste the following VBA code into the module window.
    Sub SelectHeadingParagraphs()
    Dim tempTable As Paragraph
    Application.ScreenUpdating = False
    ActiveDocument.DeleteAllEditableRanges wdEditorEveryone
    For Each tempTable In ActiveDocument.Paragraphs
    'Debug.Print tempTable.Range.Style & " " & wdStyleHeading2
    If tempTable.Style = ActiveDocument.Styles(wdStyleHeading2) Then
    'Debug.Print "aaa"
    tempTable.Range.Editors.Add wdEditorEveryone
    End If
    Next
    ActiveDocument.SelectAllEditableRanges wdEditorEveryone
    ActiveDocument.DeleteAllEditableRanges wdEditorEveryone
    Application.ScreenUpdating = True
    End Sub

    Note: This VBA code targets Heading 2. If you need to select a different heading level, replace wdStyleHeading2 with the corresponding heading style.

  3. Click the Run Run button button to execute the VBA code.

Best Office Productivity Tools

Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!

πŸ€– Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish (Preserve Format) / Super Translate (Preserve Format) / AI Redaction / AI Proofread...

πŸ“˜ Document Mastery: Split Pages / Merge Documents / Export Selection in Various Formats (PDF/TXT/DOC/HTML...) / Batch Convert to PDF...

✏ 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 / Text Boxes / Hyperlinks / For more removing tools, head to the Remove group...

βž• Creative Inserts: Insert Thousand Separators / Check Boxes / Radio Buttons / QR Code / Barcode / 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...

🌍 Supports 40+ Languages: Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Kutools and Kutools Plus tabs on the Word Ribbon
πŸ‘‰ Want to try these features? Download Kutools for Word now! πŸš€
 

✨ Kutools for Office – One Installation, Five Powerful Tools!

Includes Office Tab Pro Β· Kutools for Excel Β· Kutools for Outlook Β· Kutools for Word Β· Kutools for PowerPoint

πŸ“¦ Get all 5 tools in one suite | πŸ”— Seamless integration with Microsoft Office | ⚑ Save time and boost productivity instantly

Best Office Productivity Tools

Kutools for Word - 100+ Tools for Word