WordWrap Property
Applies To
ParagraphFormat object, TextFrame object.
Description
TextFrame object: True if lines break automatically to fit inside the shape. Read/write Long.
ParagraphFormat object: Used only with Kanji characters. Read/write Long.
Example
This example adds a rectangle that contains text to myDocument and then turns off word wrapping in the new rectangle.
Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes.AddShape(msoShapeRectangle, 0, 0, 100, _
300).TextFrame
.TextRange.Text = "Here is some test text that is too " _
& "long for this box"
.WordWrap = False
End With