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: Counting Document Lines.

Counting Document Lines

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


Word provides a tool you can use to return simple statistics about your document. One of the statistics it can provide is the number of lines in your document. In order to see how many lines there are in your document, choose Word Count from the Tools menu. After a short delay (depending on the size of your document and the speed of your computer), Word displays the Word Count dialog box. (See Figure 1.)

Figure 1. The Word Count dialog box.

One of the statistics provided in the Word Count dialog box is Lines. The value returned by Word depends on several things. First, it obviously depends on the formatting of your document. For instance, if you decrease the point size of text within your document, that can affect the line count. Second, the printer driver you are using can affect the number of lines in your document. In both instances, the differences are due to the different ways in which Word "flows" your text in the document. When the point size is smaller, Word can fit more characters on each given line, thereby reducing the overall number of lines required to present the same information. Likewise, using a different printer driver could result in a slightly different rendering of a font. For instance, the same font may appear more "compressed" on one printer than on another. This, again, means different amounts of information per line and a potentially different line count.

Finally, hidden text can affect the line count returned in the Word Count dialog box. If you have the printing of hidden text turned off, Word doesn't count hidden text in the line count. If you want it to be considered, make sure you configure Word to print hidden text.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (535) 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: Counting Document Lines.

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

Delaying in a Macro

At times, you may want your macro to pause execution. This tip presents four different ways you can add a delay into your ...

Discover More

Changing Shading when a Column Value Changes

If you have a data table in a worksheet, and you want to shade various rows based on whatever is in the first column, ...

Discover More

Getting Rid of All Hyperlinks

Need to get rid of all the hyperlinks in a worksheet? It's easy when you use this single-line macro.

Discover More

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!

More WordTips (menu)

Word Counts for a Group of Documents

Getting a word count for a single document is easy. Getting an aggregate word count for a large number of documents can ...

Discover More

Word Count in Multiple Selections

Getting a word count for an entire document is easy. What you may not know is that some versions of Word can also provide ...

Discover More

Counting Words the Old Fashioned Way

One way to specify word count is to count characters and divide by five. If you still need this old-fashioned way of ...

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 two more than 7?

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.