Skip to main content

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

How to remove the footnote/endnote separator line in Word document?

Author Siluvia Last modified

When you insert footnotes or endnotes in a Word document, a horizontal separator line appears above the footnote or endnote text. If you want to remove this line, try the methods in this article.

Remove footnote/endnote separator line in Word

Remove footnote/endnote separator line with VBA code


Remove footnote/endnote separator line in Word

You can remove the footnote or endnote separator line in Word by following these steps:

  1. In the document where you want to remove the footnote or endnote separator line, click "View" > "Draft".
    Draft button on the View tab on the ribbon
  2. Click "References" > "Show Notes".
    Show Notes on the References tab on the ribbon
  3. If the document contains both footnotes and endnotes, a "Show Notes" dialog box will appear. Select the view you want, then click "OK". For example, choose "View footnote area".
    Show Notes dialog box

    Note: If your document only has footnotes or endnotes, skip this step and go to the next one.

  4. Now the "Notes" section appears at the end of the document. Choose "Footnote Separator" from the "Footnotes" dropdown, select the separator line, and press the Delete key.
    The separator line is selected
  5. Switch the document back to "Print Layout" view.
    The button to shift to the Print Layout view

The separator line has now been removed from the document.

The separator line of footnote is removed

Note: To remove the endnote separator line, select "View endnote area" in the "Show Notes" dialog, then choose "Endnote Separator" from the dropdown list.


Remove footnote/endnote separator lines with VBA code

If the manual method is inconvenient, you can use the following VBA code to remove footnote or both footnote and endnote separator lines quickly:

  1. In the Word document, press Alt + F11 to open the "Microsoft Visual Basic for Applications" window.
  2. In the VBA window, click "Insert" > "Module", and then paste the following code into the module.
    Module window opened in the VBA window

    VBA code: Remove the footnote separator line from a Word document

    Sub DeleteTheFootnoteSeparator()
    'Updated by ExtendOffice 20181112
        If ActiveDocument.Footnotes.Count < 1 Then Exit Sub
        If ActiveWindow.View.SplitSpecial = wdPaneNone Then
            ActiveWindow.ActivePane.View.Type = wdNormalView
        Else
            ActiveWindow.View.Type = wdNormalView
        End If
        With ActiveWindow.ActivePane.View
            If .Type = wdPrintView Or .Type = wdWebView Or _
            .Type = wdPrintPreview Then
                ActiveWindow.View.SeekView = wdSeekFootnotes
            Else
                ActiveWindow.View.SplitSpecial = wdPaneFootnotes
            End If
        End With
        ActiveWindow.View.SplitSpecial = wdPaneFootnoteSeparator
        With Selection
            .MoveRight Unit:=wdCharacter
            .TypeBackspace
            .TypeBackspace
        End With
        ActiveWindow.View.SplitSpecial = wdPaneFootnoteContinuationSeparator
        With Selection
            .MoveRight Unit:=wdCharacter, Count:=1
            .TypeBackspace
            .TypeBackspace
            With .ParagraphFormat
                .LineSpacingRule = wdLineSpaceMultiple
                .LineSpacing = LinesToPoints(0.06)
            End With
        End With
        ActiveWindow.View.Type = wdPrintView
    End Sub
  3. Press F5 to run the code. All footnote separator lines will be removed instantly.

Note: Use the following VBA if you want to remove both footnote and endnote separator lines.

VBA code: Remove both footnote and endnote separator lines from a Word document

Sub DeleteTheFootnoteSeparator()
'Updated by ExtendOffice 20181112
    If ActiveDocument.Footnotes.Count < 1 Then Exit Sub
    If ActiveWindow.View.SplitSpecial = wdPaneNone Then
        ActiveWindow.ActivePane.View.Type = wdNormalView
    Else
        ActiveWindow.View.Type = wdNormalView
    End If
    With ActiveWindow.ActivePane.View
        If .Type = wdPrintView Or .Type = wdWebView Or _
        .Type = wdPrintPreview Then
            ActiveWindow.View.SeekView = wdSeekFootnotes
        Else
            ActiveWindow.View.SplitSpecial = wdPaneFootnotes
        End If
    End With
    ActiveWindow.View.SplitSpecial = wdPaneFootnoteSeparator
    With Selection
        .MoveRight Unit:=wdCharacter
        .TypeBackspace
        .TypeBackspace
    End With
    ActiveWindow.View.SplitSpecial = wdPaneFootnoteContinuationSeparator
    With Selection
        .MoveRight Unit:=wdCharacter, Count:=1
        .TypeBackspace
        .TypeBackspace
        With .ParagraphFormat
            .LineSpacingRule = wdLineSpaceMultiple
            .LineSpacing = LinesToPoints(0.06)
        End With
    End With
    ActiveWindow.View.SplitSpecial = wdPaneEndnoteSeparator
    With Selection
        .MoveRight Unit:=wdCharacter
        .TypeBackspace
        .TypeBackspace
    End With
    ActiveWindow.View.SplitSpecial = wdPaneEndnoteContinuationSeparator
    With Selection
        .MoveRight Unit:=wdCharacter, Count:=1
        .TypeBackspace
        .TypeBackspace
        With .ParagraphFormat
            .LineSpacingRule = wdLineSpaceMultiple
            .LineSpacing = LinesToPoints(0.06)
        End With
    End With
    ActiveWindow.View.Type = wdPrintView
End Sub

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