TextRange.Sentences (PowerPoint)
Returns a TextRange object that represents the specified subset of text sentences.
If both Start and Length are omitted, the returned range starts with the first sentence and ends with the last paragraph in the specified range. If Start is specified but Length is omitted, the returned range contains one sentence. If Length is specified but Start is omitted, the returned range starts with the first sentence in the specified range. If Start is greater than the number of sentences in the specified text, the returned range starts with the last sentence in the specified range. If Length is greater than the number of sentences from the specified starting sentence to the end of the text, the returned range contains all those sentences. For information about counting or looping through the sentences in a text range, see the TextRange object.
Dim treSentences As TextRange
Set treSentences = ActivePresentation.Slides(1).Shapes(1).TextFrame.TextRange.Sentences()
Arguments
Optional arguments
The following arguments are optional
Start (Long) - The first sentence in the returned range.
Length (Long) - The number of sentences to be returned.