Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.03 KB

Word.Document.Characters.md

File metadata and controls

46 lines (26 loc) · 1.03 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Document.Characters property (Word)
vbawd10.chm158007315
vbawd10.chm158007315
Word.Document.Characters
1703bbe3-6c46-a45b-9f36-1205a0d2d47c
06/08/2017
medium

Document.Characters property (Word)

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

Syntax

expression. Characters

expression A variable that represents a Document object.

Remarks

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

Example

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

See also

Document Object

[!includeSupport and feedback]