Characters Object (Word)
Published: July 16, 2012
A collection of characters in a selection, range, or document. There is no Character object; instead, each item in the Characters collection is a Range object that represents one character.
Use Characters(Index), where Index is the index number, to return a Range object that represents one character. The index number represents the position of a character in the Characters collection. The following example formats the first letter in the selection as 24-point bold.
The Count property for this collection in a document returns the number of items in the main story only. To count items in other stories use the collection with the Range object.
There is no Add method for the Characters collection. Instead, use the InsertAfter or InsertBefore method to add characters to a Range object. The following example inserts a new paragraph after the first paragraph in the active document.