In this article, there are 4 ways for you to quickly delete all footnotes or endnotes you have in Word document
In large, endnotes and footnotes are texts in document where explanations and comments go. Yet, sometimes when you inherit a document from others, this kind of information can be useless to you. Therefore, you will have to remove them. Without deleting then one by one, here are 4 quick ways which enable you to clear them once for all.
Method 1: Use the “Styles” Window
- First off, click “Home” tab.
- Then click the down arrow button in “Styles” group.
- Next in “Styles” window open, find and place your cursor on “Footnote Reference” or “Endnote Reference”.
- And click the upside-down triangle button.
- Now on the drop-down menu, click “Select All XX Instance(s)”. The “XX” here refers to the number of the footnotes or endnotes you have. Now all footnotes or endnotes are selected.
- Finally press “Delete” and all of them are gone in a second.
Sometimes in step 2, however, you may fail to find either “Footnote Reference” or “Endnote Reference”. Here are steps you can take:
- Firstly, click the “Options” on the right-down side of the “Styles” window.
- Next in “Style Pane Options” dialog box, choose “All styles” for “Select styles to show”.
- Then click “OK”.
- And now you can find both “Footnote Reference” and “Endnote Reference”.
- Repeat step 4 above.
- Lastly click “Select All” and you can see they are in selection now.
Method 2: Use “Find and Replace” Function
- At first, click “Home” table, too.
- Then this time in “Editing” group, choose “Replace”.
- Next in “Find and Replace” dialog box, place cursor at the text box of “Find what”.
- And click “More” button to expand more options.
- Then click “Special” at the bottom.
- Next choose “Endnote Mark” or “Footnote Mark”.
- If you choose “Endnote Mark”, in the “Find what” text box, you will see “^e”. If you select “Footnote Mark”, you are likely to see “^f”.
- Now keep the “Replace with” text box empty.
- Lastly, click “Replace All” to delete then all. Or click “Replace” to navigate through them one by one and decide whether to delete or not.
Here you have to understand if some of the footnotes or endnotes contain custom marks, they cannot be cleared, such as below:
Method 3: Record Macro
For example, if we want to get rid of all footnotes, we can record a macro for method 2 and we will get codes in return. And then you can choose to either assign a button or keyboard for the macro to use it later. As for how to record a macro, please refer to this article: How to Remove the Formatting of Pasted Texts with Macro and VBA in Your Word
The following codes are used to delete footnotes:
Sub DeleteFootnotes() Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "^f" .Replacement.Text = "" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With Selection.Find.Execute Replace:=wdReplaceAll End Sub
By the way, to delete endnotes, you just need to change “^f” to “^e” in the code line of “.Text = “^f””.
Method 4: Use VBA Codes
If you prefer an even faster way, macro can help. As shown in method 2, some of the customized endnote or footnote mark can’t be eliminated. But with the assistance of macro, it can be handled easily.
- To start with, press “Alt+ F11” to open the VBA editor.
- Next click “Insert” to insert a new “Module”.
- Then double click to open the module. Now if you want to delete all endnotes, paste the following codes:
Sub DeleteAllEndnotes() Dim objEndnote As Endnote For Each objEndnote In ActiveDocument.Endnotes objEndnote.Delete Next End Sub
And to delete all footnotes, paste these codes instead:
Sub DeleteAllfootnotes() Dim objFootnote As Footnote For Each objFootnote In ActiveDocument.Footnotes objFootnote.Delete Next End Sub
- Lastly, click “Run”.
Comparison of 4 Methods
Methods | Advantages | Disadvantages |
Method 1: Use the “Styles” Window | 1. Simple steps
2. Can delete all endnotes or footnotes at once, including customized marks |
1. You have to repeat the operation every time you have a new document.
2. It deletes all endnotes or footnotes and you can’t keep some of them if you want. |
Method 2: Use “Find and Replace” Function& Method 3: Record Macro | 1. You can choose to either delete them all or navigate through one by one to make the decision.
2. You can record a macro for later use. |
1. Comparatively more steps
2. Can’t delete customized marks |
Method 4: Use VBA Codes | 1. Simple steps
2. Can delete all endnotes or footnotes at once, including customized marks |
1. It suits people who are familiar with macro.
2. It deletes all endnotes or footnotes and you can’t keep some of them if you want. |
Fix Damaged Files
Generally, with so many features, we can achieve a lot in Word. Yet, it can be susceptible to errors and corruptions, leaving corrupted Word files behind. Therefore, at this time, you certainly will have to get a Word error fix tool to help yourself retrieve the valuable data.
Author Introduction:
Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including Excel file problem recovery tool and pdf repair software products. For more information visit www.datanumen.com