TextRange.RemovePeriods method (PowerPoint)
Removes the period at the end of each paragraph in the specified text.
expression. RemovePeriods
expression A variable that represents a TextRange object.
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
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.