Document.Characters Property (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns a Characters collection that represents the characters in a document. Read-only.

expression .Characters

expression A variable that represents a Document object.

For information about returning a single member of a collection, see Returning an Object from a Collection.

This example returns the number of characters in the first sentence in the active document (spaces are included in the count).

numchars = ActiveDocument.Characters.Count