by Allen Wyatt
(last updated December 1, 2018)
Michel is editing a document that has, within the text, information that really should be in footnotes. He wonders if there is an easy way to select the text, have a footnote automatically created, and the selected text be moved to the footnote.
This can, of course, be done manually. All you need to do is to follow these general steps:
If you have to do this process quite a bit, you could automate it by creating a macro that does the same things. (Well, the same things except for steps 1 and 5—you will still need to select the text you want moved to the footnote and you will still need to format it once it is in the footnote.)
Sub TextToFootnote() Dim sTemp As String sTemp = Selection Selection.Delete Selection.TypeBackspace ActiveDocument.Footnotes.Add Range:=Selection.Range, Text:=sTemp End Sub
The macro copies whatever text you selected into the sTemp variable. It then deletes the selection, types a backspace, and inserts a footnote that is equivalent to the text stored in sTemp. Note that since the macro backspaces after deleting the text from the main document, it assumes that what you selected (and what is being moved to the footnote) does not include the leading space.
You can, of course, make the macro more usable by assigning a shortcut key to it or adding it to the Quick Access Toolbar. Either method will allow you to easily move text from the body of the document into the footnotes.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13591) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Office 365.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
When you print out your documents, do any comments in the document appear very tiny on the printout? It could be because ...Discover More
Word allows you to add comments to your document to aid in the development of the document. At some point you may want to ...Discover More
Comments are a great way to share, well, comments with other people looking through your documents. If you want to print ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.