DataLabel.Characters procedure builder

DataLabel.Characters (Word)

Returns a ChartCharacters object that represents a range of characters within the object text. You can use the ChartCharacters object to format characters within a text string.

The ChartCharacters object is not a collection.

Characters (Start, Length)

Dim ccsCharacters As ChartCharacters
Set ccsCharacters = ActiveDocument.Background.Chart.FullSeriesCollection(1).DataLabels.Characters


Optional arguments

The following arguments are optional

Start - The first character to be returned. If this argument is either 1 or omitted, this property returns a range of characters starting with the first character

Length - The number of characters to be returned. If this argument is omitted, this property returns the remainder of the string (everything after the Start character)