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.
by Allen Wyatt
(last updated May 2, 2018)
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.
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!
Do you need to keep track of how many words are in your document? Word provides a tool to display a word count on demand, ...Discover More
You can use Word's built in tools to figure out how many words are in your document. If you want a real-time, constantly ...Discover More
Getting a word count for a single document is easy. Getting an aggregate word count for a large number of documents can ...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 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.