ChartCharacters Object (Word)

Represents characters in an object that contains text.


The ChartCharacters object lets you modify any sequence of characters contained in the full text string.

Use Characters ( Start , Length ), where Start is the start character number and Length is the number of characters, to return a ChartCharacters object.


The Characters property is necessary only when you need to change some of an object's text without affecting the rest (you cannot use the Characters property to format a portion of the text if the object does not support rich text). To change all the text at the same time, you can usually apply the appropriate method or property directly to the object. The following example formats the contents of the chart title for the first chart in the active document as italic.

With ActiveDocument.InlineShapes(1).Chart 
 .ChartTitle.Characters.Font.Italic = True 
End With

See also

Word Object Model Reference