Share via


TextRange.RemovePeriods Method

PowerPoint Developer Reference

Removes the period at the end of each paragraph in the specified text.

Syntax

expression.RemovePeriods

expression   A variable that represents a TextRange object.

Example

This example removes the period at the end of each paragraph in shape two on slide one in the active presentation.

Visual Basic for Applications
  Application.ActivePresentation.Slides(1) _
    .Shapes(2).TextFrame.TextRange _
    .RemovePeriods

See Also