Syntax
expression.ConvertToFrame expression 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, frames have been replaced by text boxes. See Also ConvertToInlineShape method, ConvertToShape method, TextFrame object. Example This example creates a text box using the selected text, and then it converts the text box to a frame.If Selection.Type = wdSelectionNormal Then
Selection.CreateTextbox
Selection.ShapeRange.ConvertToFrame
End If