Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or
0
0
0
s2smodern

How to count number of words per page in Word document?

As we know, we can count the number of words of the whole document in Word by applying its Word Count utility. But how can you count the number of words in the active page only? In this tutorial, I introduce some tricks to handle this job.

Count number of words in active page with manual selection

Count number of words in active page with VBA


Count number of words in active page with manual selection

1. Select the active document by cursor, then click Review > Word Count.
doc count words in active document 1

2. In the Word Count dialog, the number of words in the active document has been counted.
doc count words in active document 2


Count number of words in active page with VBA

In Word, there is no built-in function to count words in active page only, except the VBA code.

1.Place the cursor at the page you want to count words, press Alt + F11 keys to open the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, copy and paste below code to the Module script.

VBA: Count number of words in active page

Sub GetWordsCount_ActivePage()
'UpdatebyExtendoffice20180829
    Dim xWord As Long
    xWord = ActiveDocument.Bookmarks("\Page").Range.ComputeStatistics(wdStatisticWords)
    MsgBox "The number of words of atcive page: " & xWord, vbInformation, "Kutools for Word"
End

doc count words in active document 3

3. Press F5 key, then a message box pops out to tell you the number of words in the active page.
doc count words in active document 4

Tabbed browsing & editing multiple Word documents/Excel workbooks as Firefox, Chrome, Internet Explore 10!

You may be familiar to view multiple webpages in Firefox/Chrome/IE, and switch between them by clicking corresponding tabs easily. Here, Office Tab supports similar processing, which allow you to browse multiple Word documents or Excel workbooks in one Word window or Excel window, and easily switch between them by clicking their tabs.
Click for free trial of Office Tab!

Browse multiple word documents in one window as Firefox

Kutools for Word

More than 100 Advanced Functions for Word 2003, 2007, 2010, 2013, 2016 and 2019

shot-kutools-700-225-kte

More Features  |  Free Download  |  Only $39.00 for hundreds of functions

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.