Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Moving Footnote References Using Find and Replace.

Moving Footnote References Using Find and Replace

by Allen Wyatt
(last updated September 22, 2015)

3

Raphael has a document in which footnote references are in the wrong place relative to the period at the end of a sentence. He wants to search for all instances where the footnote reference is before the period and move it to after the period. In some instances the period may be followed by a quote mark, in which case he would want the footnote reference after the quote mark.

This is actually rather easy to do in Word, and the reason is because the Find and Replace feature allows you to search for footnote references. Here, for instance, are the steps to correct instances of a misplaced footnote reference, a period, and a quote mark:

  1. Press Ctrl+H. Word displays the Replace tab of the Find and Replace dialog box. (See Figure 1.)
  2. Figure 1. The Replace tab of the Find and Replace dialog box.

  3. Enter the following into the Find What box: ^f." (that's a caret, f, period, and quote mark).
  4. Enter the following in the Replace With box: ."^& (that's a period, quote mark, caret, and ampersand).
  5. Click Replace All.
  6. Enter the following into the Replace With box: ^&# (that's a caret, ampersand, and pound sign).
  7. Click Replace All.
  8. Enter the following into the Find What box: ."# (that's a period, quote mark, and pound sign).
  9. Make sure there is nothing in the Replace With box.
  10. Click Replace All.
  11. Enter the following into the Find What box: ." (that's a period and quote mark).
  12. Click the More button, if it is available.
  13. Put the insertion point in the Replace With box.
  14. Click the Format button and choose Font. Word displays the Replace Font dialog box. (See Figure 2.)
  15. Figure 2. The Replace Font dialog box.

  16. Make sure the Superscript check box is cleared.
  17. Click on OK.
  18. Click Replace All.
  19. Close the Find and Replace dialog box.

That may seem like a lot of steps, but it goes pretty quick. Steps 1 through 4 essentially replace any instances of "reference period quote" with "period quote reference period quote." This is necessary because you can't use the ^f code (which finds a footnote reference) in the Replace With box. Instead, you use the ^& code to replace what you find with what you searched for.

The second replace operation, in steps 5 and 6, replaces "reference period quote" with "reference period quote pound." The pound sign is used simply as a marker that will be keyed upon in steps 7 through 9. After step 6 you really end up with "period quote reference period quote pound." Steps 7 through 9, then, eliminate the final "period quote pound," leaving the desired "period quote reference."

There is one more operation that needs to take place, however, and it is done in steps 10 through 16. After all the previous steps, the period and the quote mark are left not as normal text, but as superscript, just like the footnote reference. The purpose of steps 10 through 16 is to change them back to regular text.

Remember, these steps only take care of the initial desire to change "reference period quote" to "period quote reference." You still need to go through similar steps to change "reference period" to "period reference." In fact, you can use the same 17 steps you previously went through, but leave out any quote marks from what you search for and replace with.

There is an even shorter way of doing the replacements, using wildcard searches. Just follow these steps:

  1. Press Ctrl+H. Word displays the Replace tab of the Find and Replace dialog box.
  2. Click the More button, if it is available.
  3. Make sure the Use Wildcards check box is selected.
  4. Enter the following into the Find What box: (^2)(.[""]) (note that there is both a straight quote and smart quote within the square brackets).
  5. Enter the following in the Replace With box: \2\1 (that's a backslash 2 backslash 1).
  6. Click Replace All.
  7. Enter the following into the Find What box: (^2)(.) (note that the only difference between this and what you searched for in step 4 is that the square brackets and quote marks are missing).
  8. Click Replace All.
  9. Close the Find and Replace dialog box.

These steps take care of all instances of "reference period quote" and "reference period." You should also note that these steps, using the wild card search, will also change the order of any endnote references within the document. So if you document has both footnotes and endnotes, and you don't want the position of the endnote references modified, you should use the first 17-step process instead of the wild card search.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (12459) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Moving Footnote References Using Find and Replace.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Returning Word to Default Settings

Want to set everything back to a pristine state in Word? Doing so is more involved than you may believe.

Discover More

Changing the Format for a Date Inserted Using the Keyboard Shortcut

If you are having difficulties getting Word to insert the date exactly the way you want, it could have to do with how you set ...

Discover More

Automatic Text in an E-mail

When creating an e-mail address hyperlink using the Insert Hyperlink dialog box, Excel allows you to enter a subject for the ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (menu)

Ordering Search and Replace

The wildcard searching available in Word is very powerful. Here's how you can use ordering in your search efforts to make ...

Discover More

Finding Quoted Text in VBA

Macros are created for all sorts of purposes in creating, editing, and processing documents. You might want to use a macro to ...

Discover More

Finding the Previous Occurrence

Using Word's Object Browser, it is very easy to move among different instances of what you want to search in your document. ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 8Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 4 + 7?

2015-09-24 17:55:20

Arthur

Thanks so much. This has the potential to save me a lot of time!


2014-11-19 12:17:36

GundegaKorsts

Congratulations, Allen -- This tip just got shared on Facebook by the Council of Science Editors. (I couldn't do my editing without lots and lots of macros, and knowing S&R inside out. You've helped a lot, especially when I had to transition from WordPerfect.)


2014-05-30 07:54:34

Fern

How about in a Mac version? When I try this it just reports an error. Thanks!


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.