RemovePeriods Method

Microsoft PowerPoint Visual Basic

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

expression.RemovePeriods

expression    Required. An expression that returns 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.

Application.ActivePresentation.Slides(1) _
    .Shapes(2).TextFrame.TextRange _
    .RemovePeriods