[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

NUMWORDS

Syntax:

NUMWORDS [ switch ]

Description: Retrieves the number of words in the current document, as recorded in the Words element of the Application-Defined File Properties part.

Field Value: The number of words in the current document.

Switches: Zero or one numeric-formatting-switch or general-formatting-switch.

[Example: Consider the case in the document has 1,243 words and the following fields are updated:

NUMWORDS
NUMWORDS \# #,##0

the results are:

1243
1,243

end example]