
VBA code: remove footnote and endnote separator lines in document Sub DeleteTheFootnoteSeparator()Ī = wdPaneEndnoteSeparatorĪctiveWindow.View.
REMOVE HEADERS AND FOOTERS IN WORD 2011 CODE
Note: If you want to remove all separator lines of footnote and endnote, the below VBA code can help. Then all footnotes’ separator lines are removed immediately from the document. Type = wdWebView Or _Ī = wdSeekFootnotesĪ = wdPaneFootnotesĪ = wdPaneFootnoteSeparatorĪ = wdPaneFootnoteContinuationSeparatorģ. In the Paragraph settings dialog box, go to the Line and Page Breaks tab and select the Page break before check box. Place your cursor anywhere in the heading. Add or change the content in the header or footer. Force a ‘page break before’ the heading BEFORE you remove the manually inserted page break. Select Header or Footer and do one of the following: Choose Remove Header or Remove Footer. Select Link to Previous to turn off the link between the sections. VBA code: remove footnote separator line in document Sub DeleteTheFootnoteSeparator() Double-click the header or footer area to open the Header & Footer tab. Then copy below VBA code into the Module window. In the Microsoft Visual Basic for Applications window, click Insert > Module. In the document you will remove separator line of footnote, press the Alt + F11 keys to open the Microsoft Visual Basic for Applications window.Ģ. If the above method is inconvenient for you, you can try the following VBA codes to quickly remove all separator lines of footnote or both footnote and endnote from document.ġ. Remove footnote/endnote separator lines with VBA code Note: To remove the endnote separator line, you just need to check View endnote area in the above Show Notes dialog, and then select Endnote Separator in the Endnotes drop-down list. Then you can see the separator line of footnote is removed immediately from the document. Shift to the Print Layout view of the document. Now the Notes section is displaying at the end of the document, please select Footnote Separator in the Footnotes drop-down list, select the separator line and then press the Delete key to delete it. Then, press Delete key on keyboard, and then click Close Header and Footer to exit the editing mode, all headers in. Note: If only footnote or endnote existing in your document, ignore this step and move to step 4.Ĥ. Double-click the header in any one page to go to the editing mode, and then, select the content of the header, see.

If there are both footnotes and endnotes in your document, a Show Notes dialog box will pop up, please select an option as you need and then click the OK button. Then click References > Show Notes as below screenshot shown.ģ. In the document you will remove its footnote or endnotes separator line, click View > Draft.Ģ. You can remove footnote or endnote separator line in Word as follows.ġ.

Remove footnote/endnote separator line with VBA code Remove footnote/endnote separator line in Word If you want to get rid of these separator lines, please try methods in this article. When inserting footnotes or endnotes in Word document, you will find there is always a horizontal separator line above the footnote or endnotes texts.
REMOVE HEADERS AND FOOTERS IN WORD 2011 HOW TO
How to remove the footnote/endnote separator line in Word document?
