Replacing Asterisks with a Footnote

Written by Allen Wyatt (last updated March 17, 2025)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365


Steve has a document that contains quite a few URLs. He's tested all the URLs to make sure they are valid, and the ones that are not valid he has appended with an asterisk. Now Steve would like to go back and replace all those asterisks with a footnote that simply says, "No longer there." He wonders if there is an easy way to do this for all the asterisks in the document.

There are two ways to approach this. The first relies on using Find and Replace. You can follow these general steps:

  1. Go to your first asterisk and replace it with the footnote you want to use.
  2. Select the footnote reference mark (the one in the main text) and press Ctrl+C. This copies the footnote to the Clipboard.
  3. Press Ctrl+H to display the Replace tab of the Find and Replace dialog box.
  4. In the Find What box, enter an asterisk.
  5. In the Replace With box, enter ^c (it must be a lowercase c).
  6. Click Replace All.
  7. What you end up with is all the asterisks replaced with the footnotes. Realize that all of the asterisks in your document are replaced. If you have some asterisks that you don't want replaced, then you can step through matches and replace or not replace them individually.

    The other way you can approach the issue is by using a macro. This is particularly helpful if you need to make the replacements in multiple documents. The following example macro searches through the document for asterisks, then deletes the asterisks and inserts the desired footnote.

    Sub ReplaceAsterisksWithFootnotes()
        Dim rng As Range
    
        Set rng = ActiveDocument.Content
        With rng.Find
            .Text = "*"
            .Replacement.Text = ""
            .Forward = True
            .Wrap = wdFindStop
            .Format = 0
            .MatchCase = 0
            .MatchWholeWord = 0
            .MatchWildcards = 0
            .MatchSoundsLike = 0
            .MatchAllWordForms = 0
        End With
        Do While rng.Find.Execute
            rng.Delete
            ActiveDocument.Footnotes.Add Range:=rng, Text:="No longer there."
        Loop
    End Sub
    

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (9744) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365.

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

Declaring Variables

Declaring variables in a macro is good programming practice. Here's how to do it and how to make sure they are all declared.

Discover More

Quickly Removing Table Borders

Insert a table in your document and Word assumes that you want borders around the table and its cells. Here's a shortcut ...

Discover More

Renaming a Macro

Got a macro that doesn't have quite the right name? You can rename the macro by following these simple steps.

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2019. Spend more time working and less time trying to figure it all out! Check out Word 2019 For Dummies today!

More WordTips (ribbon)

Protecting Document Areas from Global Replacements

You may have boilerplate text that you need to include in your document, and it would be detrimental to accidently change ...

Discover More

Replacing a Colon in a Sequence

Sometimes you'll run across the need to replace a very specific sequence of characters in your document. It is for these ...

Discover More

Using Find and Replace to Change Text Case

Can you really use Find and Replace to change the case of text in your document? Not really, but that shouldn't stop you ...

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}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. 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 eight more than 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

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.

Videos
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.