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: Reference to a Range of Endnotes.

Reference to a Range of Endnotes

Written by Allen Wyatt (last updated May 7, 2022)
This tip applies to Word 97, 2000, 2002, and 2003


Michael Smith is working with a client's document that uses endnotes extensively. At times there may be multiple endnote references at a given point in the document. These are shown in Word as, for example, (3,4,5,6). Michael's client would prefer that the reference show as (3-6), showing the range of endnotes rather than an individual enumeration of each endnote.

It is not very common to have multiple endnote references at the same point in a document, therefore it is not surprising that Word does not have an option to list endnote references by range. In fact, style guides take pains to point out that multiple note references at the same location should be "rigorously avoided" (Chicago Manual of Style, Fifteenth Edition, 16.34 and 16.37).

If the client still insists on having multiple endnote references at a single location, one solution is to select the intermediate references in the range, format them as hidden text, and then add a dash. For instance, you could select ",4,5," from the references "3,4,5,6", format the selection as hidden text, and then add a dash to provide the result of "3-6". If you have quite a few such operations to perform in your text, you can automate it slightly by using the following macro:

Sub RefListToRange()
    Selection.Font.Hidden = True
    Selection.Collapse (wdCollapseEnd)
    Selection.TypeText Text:="—"
End Sub

Select the portion you want to hide (such as ",4,5,") and the macro does the hiding and adds the dash.

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 (211) 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: Reference to a Range of Endnotes.

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

Creating a Worksheet Copy by Default

Excel makes it relatively easy to copy worksheets to a different workbook. That doesn't mean it couldn't be made simpler ...

Discover More

Viewing Document Statistics

As you develop a document, Word keeps track of certain statistics about the document itself. Here is how you can review ...

Discover More

Microsoft Word VBA Guidebook (Table of Contents)

Creating Word macros allows you to extend your productivity with Word. Visual Basic for Applications (VBA) is the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More WordTips (menu)

Moving Footnote Text into the Document

Need to move the contents of a footnote up into the main body of your document? You can use normal editing techniques to ...

Discover More

Selectively Changing Endnotes to Footnotes

Want to turn some (but not all) of your endnotes into footnotes. Rather than do it manually, you can apply the shortcut ...

Discover More

Putting Your Index after Your Endnotes

Endnotes are supposed to be at the end of your document, right? Not necessarily. You may want something else at the end, ...

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 seven more than 5?

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

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.