AddPeriods Method

Applies To

TextRange object.

Description

Adds a period at the end of each paragraph in the specified text.

Syntax

expression.AddPeriods

expression Required. An expression that returns a TextRange object.

Remarks

This method doesn't add another period at the end of a paragraph that already ends with a period.

See Also

RemovePeriods method.

Example

This example adds a 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.AddPeriods