Frame.TextWrap property (Word)

True if document text wraps around the specified frame. Read/write Boolean.


expression. TextWrap

expression An expression that returns a 'Frame' object.


This example causes text to not wrap around the first frame in the active document.

If ActiveDocument.Frames.Count >= 1 Then 
 ActiveDocument.Frames(1).TextWrap = False 
End If

This example causes text to wrap around all frames in the active document.

For Each aFrame In ActiveDocument.Frames 
 aFrame.TextWrap = True 
Next aFrame

See also

Frame Object

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.