TextRange.Characters (PowerPoint)

Returns a TextRange object that represents the specified subset of text characters. For information about counting or looping through the characters in a text range, see the TextRange object.

If both Start and Length are omitted, the returned range starts with the first character and ends with the last paragraph in the specified range. If Start is specified but Length is omitted, the returned range contains one character. If Length is specified but Start is omitted, the returned range starts with the first character in the specified range. If Start is greater than the number of characters in the specified text, the returned range starts with the last character in the specified range. If Length is greater than the number of characters from the specified starting character to the end of the text, the returned range contains all those characters.

Characters (Start, Length)


Dim treCharacters As TextRange
Set treCharacters = ActivePresentation.Slides(1).Shapes(1).TextFrame.TextRange.Characters()

Arguments

Optional arguments

The following arguments are optional

Start (Long) - The first character in the returned range.

Length (Long) - The number of characters to be returned.