Word count and pages

Show word count

Word counts the number of words in a document while you type. Word also counts pages, paragraphs, lines, and characters.

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.

When you need to know how many words, pages, characters, paragraphs, or lines are in a document, check the status bar.


Partial word count

For a partial word count, select the words you want to count. The status bar shows the word count for that selection and for the entire document.

Tip: Find the number of characters, paragraphs, and lines by clicking on the word count in the status bar.
Word count detail

Count the number of characters, lines, and paragraphs

You can view the number of characters, lines, paragraphs, and other information in your Word for Mac, by clicking the word count in the status bar to open the Word Count box. Unless you have selected some text, Word counts all text in the document, as well as the characters, and displays them in the Word Count box as the Statistics.

Word count dialog box

Count the number of words in a part of a document

To count the number of words in only part of your document, select the text you want to count. Then on the Tools menu, click Word Count.

Just like the Word desktop program, Word for the web counts words while you type.

Word Count

If you don’t see the word count at the bottom of the window, make sure you’re in Editing view (click Edit Document > Edit in Word for the web).

Click the word count to switch it off and on.

Word Count Disabled

Maybe you noticed that Word for the web gives you an approximate word count. That’s because it doesn’t count words in areas like text boxes, headers, footers, and SmartArt graphics. If you need an exact count, click Open in Word, and look at the word count at the bottom of the Word document window.

Need more help?

На чтение 2 мин Опубликовано 02.10.2015

Статистика документа Word

В Word есть инструмент, который показывает простую статистику документа. Статистика содержит информацию о том, сколько страниц, слов, символов, абзацев и строк содержится в документе. Такая статистика полезна, если при создании документа необходимо ориентироваться на заданные параметры.

Чтобы увидеть статистику документа, откройте его и перейдите на вкладку Рецензирование (Review).

Статистика документа Word

В разделе Правописание (Proofing) нажмите Статистика (Word Count).

Статистика документа Word

Откроется диалоговое окно со статистикой, как показано на картинке в начале этой статьи. Кстати, количество страниц и слов в документе можно также увидеть в строке состояния в самом низу окна Word.

Замечание: Количество страниц отображается в строке состояния только в режимах Разметка страницы (Print Layout) или Черновик (Draft) – эти режимы включаются на вкладке Вид (View).

Статистика документа Word

Если Вы не видите в строке состояния количество страниц и слов в документе, кликните по ней правой кнопкой мыши и в появившемся меню укажите элементы, которые желаете видеть. Кроме этого, Вы можете включить отображение номера строки, в которой в данный момент находится курсор.

Статистика документа Word

Количество строк и страниц в документе может меняться – это зависит от нескольких факторов, таких как величина полей страницы, тип и размер шрифта, интервалы между абзацами и так далее. Например, если Вы уменьшаете размер шрифта, то число строк и страниц в документе также изменится. Разница в количестве строк и страниц может появиться даже из-за незначительных отличий в обработке шрифта разными драйверами печати.

Кроме этого, на количество строк, указанное в отчёте в диалоговом окне Статистика (Word Count), может повлиять скрытый текст. Если в параметрах Word отключена печать скрытого текста, то скрытый текст не будет учтён при подсчёте строк в документе. Если же Вы хотите, чтобы строки скрытого текста тоже были посчитаны, то печать скрытого текста в параметрах Word должна быть включена.

Оцените качество статьи. Нам важно ваше мнение:

I am making lots of changes to a Word document using automation, and then running a VBA macro which — among other things — checks that the document is no more than a certain number of pages.

I’m using ActiveDocument.Information(wdNumberOfPagesInDocument) to get the number of pages, but this method is returning an incorrect result. I think this is because Word has not yet updated the pagination of the document to reflect the changes that I’ve made.

ActiveDocument.ComputeStatistics(wdStatisticPages) also suffers from the same issue.

I’ve tried sticking in a call to ActiveDocument.Repaginate, but that makes no difference.

I did have some luck with adding a paragraph to the end of the document and then deleting it again — but that hack seems to no longer work (I’ve recently moved from Word 2003 to Word 2010).

Is there any way I can force Word to actually repaginate, and/or wait until the repagination is complete?

braX's user avatar

braX

11.5k5 gold badges20 silver badges33 bronze badges

asked Jun 3, 2013 at 10:03

Gary McGill's user avatar

Gary McGillGary McGill

26k25 gold badges117 silver badges200 bronze badges

17

I just spent a good 2 hours trying to solve this, and I have yet to see this answer on any forum so I thought I would share it.

https://msdn.microsoft.com/en-us/vba/word-vba/articles/pages-object-word?f=255&MSPPError=-2147217396

That gave me my solution combined with combing through the articles to find that most of the solutions people reference are not supported in the newest versions of Word. I don’t know what version it changed in, but my assumption is that 2013 and newer can use this code to count pages:

ActiveDocument.ActiveWindow.Panes(1).Pages.Count.

I believe the way this works is ActiveDocument selects the file, ActiveWindow confirms that the file to be used is in the current window (in case the file is open in multiple windows from the view tab), Panes determines that if there is multiple windows/split panes/any other nonsense you want the «first» one to be evaluated, pages.count designates the pages object to be evaluated by counting the number of items in the collection.

Anyone more knowledgeable feel free to correct me, but this is the first method that gave me the correct page count on any document I tried!

Also I apologize but I cant figure out how to format that line into a code block. If the mods want to edit my comment to do that be my guest.

Gary McGill's user avatar

Gary McGill

26k25 gold badges117 silver badges200 bronze badges

answered Jan 30, 2018 at 22:19

Kris K's user avatar

1

Try (maybe after ActiveDocument.Repaginate)

ActiveDocument.BuiltinDocumentProperties(wdPropertyPages)

It is causing my Word 2010 to spend half-second with «Counting words» status in status bar, while ActiveDocument.ComputeStatistics(wdStatisticPages) returns the result immediately.

Source: https://support.microsoft.com/en-us/kb/185509

answered Jul 15, 2015 at 8:41

alexkovelsky's user avatar

alexkovelskyalexkovelsky

3,7911 gold badge27 silver badges21 bronze badges

5

After you’ve made all your changes, you can use OnTime to force a slight delay before reading the page statistics.

Application.OnTime When:=Now + TimeValue("00:00:02"), _
        Name:="UpdateStats"

I would also update all the fields before this OnTime statement:

ActiveDocument.Range.Fields.Update

answered Jun 15, 2013 at 11:19

Andy G's user avatar

Andy GAndy G

19.1k5 gold badges49 silver badges69 bronze badges

1

I found a possible workaround below, if not a real answer to the topic question.
Yesterday, the first ComputeStatistics line below was returning the correct total of 31 pages, but today it returns only 1.

The solution is to get rid of the Content object and the correct number of pages is returned.

Dim docMultiple As Document
Set docMultiple = ActiveDocument 
lPageCount = docMultiple.Content.ComputeStatistics(wdStatisticPages)  ' Returns 1
lPageCount = docMultiple.ComputeStatistics(wdStatisticPages)  ' Returns correct count, 31

dwitvliet's user avatar

dwitvliet

7,0647 gold badges36 silver badges62 bronze badges

answered Jul 17, 2014 at 15:21

Dan McSweeney's user avatar

1

ActiveDocument.Range.Information(wdNumberOfPagesInDocument)

This works every time for me. It returns total physical pages in the word.

4b0's user avatar

4b0

21.7k30 gold badges95 silver badges140 bronze badges

answered Oct 26, 2017 at 4:11

Saurav Dubey's user avatar

1

I used this from within Excel
it worked reliably on about 20 documents
none were longer than 20 pages but some were quite complex
with images and page breaks etc.

Sub GetlastPageFromInsideExcel()
Set wD = CreateObject("Word.Application")
Set myDoc = wD.Documents.Open("C:Tempmydocument.docx")
myDoc.Characters.Last.Select        ' move to end of document
wD.Selection.Collapse               ' collapse selection at end
lastPage = wD.Selection.Information(wdActiveEndPageNumber)
mydoc.close
wd.quit
Set wD = Nothing
End Sub

answered Mar 23, 2020 at 7:36

anthony Judd's user avatar

One problem I had in getting «ComputeStatistics» to return a correct page count was that I often work in «Web Layout» view in Word. Whenever you start Word it reverts to the last view mode used. If Word was left in «Web Layout» mode «ComputeStatistics» returned a page count of «1» page for all files processed by the script. Once I specifically set «Print Layout» view I got the correct page counts.

For example:

$MSWord.activewindow.view.type = 3    # 3 is 'wdPrintView', 6 is 'wdWebView'
$Pages = $mydoc.ComputeStatistics(2)  # 2 is 'wdStatisticPages'

answered Feb 17, 2022 at 1:48

Lewis Newton's user avatar

You can use Pages-Object and its properties such as Count. It works perfect;)

Dim objPages As Pages
Set objPage = ActiveDocument.ActiveWindow.Panes(1).Pages

QuantityOfPages = ActiveDocument.ActiveWindow.Panes(1).Pages.Count

answered Sep 27, 2022 at 20:01

Sultan Khan's user avatar

1

Dim wordapp As Object
Set wordapp = CreateObject("Word.Application")
Dim doc As Object
Set doc = wordapp.Documents.Open(oFile.Path)

Dim pagesCount As Integer
pagesCount = doc.Content.Information(4) 'wdNumberOfPagesInDocument
doc.Close False
Set doc = Nothing

answered May 30, 2019 at 5:42

soko8's user avatar

soko8soko8

11 bronze badge

1

In previous posts about word-count in Microsoft Word, we reviewed standard methods of counting words, characters, and lines in Microsoft Word, but what about page count

If translators work with a lengthy document, it raises the issue of page count. To count pages manually is a bad idea, you know. So how do we deal with that?

Page count with the Microsoft Word statistics window.

You can access the word-count statistics pop-up window, where the Microsoft Word displays the number of pages. You can open it via the Review tab > Proofing > Word Count.

Count pages with the Status Bar.

On the status bar at the bottom of the Word window, you can find statistics on the number of pages, as well as the information about what page you are currently on.

If you don’t see your page statistics on the Status Bar, you should do the following: 

  • Right-click on the Status Bar
  • After the “Customize Status Bar” shortcut menu appeared, activate the “Page Number” by ticking it.
  • Page statistics should appear on the Status Bar.

Page number in Microsoft Word

In case you need navigation between pages in your document, you can open the navigation pane by clicking the page number in the lower-left corner of the screen.

Navigation pane page count Microsoft Word

AnyCount handles page count better than any other word-count tool. Just select count units:

AnyCount page count settings

Click the “Count!” button and get results:

AnyCount page count

There are times when it helps to know how many words per page you’re writing. While a general guideline is one page is 500 words (single spaced) or 250 words (double spaced), this is a ballpark figure. The truth is the number of words per page depends on a variety of factors such as the type of font, the font size, spacing elements, margin spacing, and paragraph length to name a few. While it’s not possible to take into all these factors when estimating how many words per page there will be for your writing, this calculator can give a more accurate words per page conversion estimate than the typical 250/500 ballpark figure.

The calculator is able to provide a more accurate conversion by taking into account more specific information. For example, you can choose from a different variety of common fonts to generate an estimate:

  • Arial
  • Calibri
  • Comic Sans MS
  • Courier
  • Times New Roman
  • Verdana

You can then choose your preferred spacing from the following options:

  • Single spaced
  • 1.5 spaced
  • Double spaced

Finally, you can choose your preferred font size: 10, 11, 12, 13 or 14.

By using these three options to more accurately define your writing, the words per page calculator should provide a better estimate on how many words you need to write to fill a page. In the opposite direction, it can give a more accurate estimate of how many pages you have created if you only know the word count.

While we make every attempt to make our calculators as accurate as possible, the results won’t be perfect. This converter addresses some issues to provide a more accurate estimate, but in the end, it’s still an estimate. Other issues such as margin space and paragraph length will likely result in some variation from the calculations given. That being said, it should provide a more accurate indication of the number of pages a specific word count will be and the number of words per page you type when compared to the general rule of thumb.

How many pages is…?

For general information, the following are calculations using 12-point Arial font, double spaced:

How many pages is 500 words? 500 words is approximately 1.8 pages.
How many pages is 750 words? 750 words is approximately 2.7 pages.
How many pages is 1,000 words? 1,000 words is approximately 3.7 pages.
How many pages is 1,250 words? 1,250 words is approximately 4.6 pages.
How many pages is 1,500 words? 1,500 words is approximately 5.5 pages.
How many pages is 2,000 words? 2,000 words is approximately 7.3 pages.
How many pages is 2,500 words? 2,500 words is approximately 9.1 pages.
How many pages is 3,000 words? 3,000 words is approximately 11 pages.
How many pages is 4,000 words? 4,000 words is approximately 14.6 pages.
How many pages is 5,000 words? 5,000 words is approximately 18.3 pages.
How many pages is 7,500 words? 7,500 words is approximately 27.4 pages.
How many pages is 10,000 words? 10,000 words is approximately 36.5 pages.

How many words are in pages?

How many words are in one page? There are approximately 450 words in one page.
How many words are in two pages? There are approximately 900 words in two pages.
How many words are in three pages? There are approximately 1350 words in three pages.
How many words are in four pages? There are approximately 1800 words in four pages.
How many words are in five pages? There are approximately 2250 words in five pages.
How many words are in ten pages? There are approximately 4500 words in ten pages.
How many words are in 15 pages? There are approximately 6750 words in 15 pages.
How many words are in 25 pages? There are approximately 11250 words in 25 pages.
How many words are in 50 pages? There are approximately 22500 words in 50 pages.
How many words are in 100 pages? There are approximately 45000 words in 100 pages.

Понравилась статья? Поделить с друзьями:
  • Word could not create the work file check the temp environment variable
  • Word correct all grammar
  • Word copy with format
  • Word copy text from table
  • Word copy table styles