ParagraphFormat.SpaceWithin property (PowerPoint)
Returns or sets the amount of space between base lines in the specified text, in points or lines. Read/write.
expression A variable that represents a ParagraphFormat object.
This example sets line spacing to 21 points for the text in shape two on slide two in the active presentation.
With Application.ActivePresentation.Slides(2).Shapes(2) With .TextFrame.TextRange.ParagraphFormat .LineRuleWithin = False .SpaceWithin = 21 End With End With
Support and feedback
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.