ConvertToFrame Method

See Also       Example       Applies To

Converts the specified shape to a frame. Returns a Frame object that represents the new frame.

Syntax

expression.ConvertToFrame

expression   Required. An expression that returns a Shape or ShapeRange object.

Remarks

Shapes that don't support attached text cannot be converted to frames. For pictures, OLE objects, and ActiveX controls, use the ConvertToInlineShape method.

If you use this method on a ShapeRange object that contains more than one shape, an error occurs.

In Word 97 and later, frames have been replaced by text boxes.