Expand Minimize
This topic has not yet been rated - Rate this topic

Document.Characters Property

Office 2007
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).

Visual Basic for Applications
numchars = ActiveDocument.Characters.Count



Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.