TextFrame2 Object
Excel Developer Reference |
Represents the text frame in a Shape, ShapeRange, or ChartFormat object.
Version Information
Version Added: Excel 2007
Remarks
This object contains the text in the text frame as well as the properties and methods that control the alignment and anchoring of the text frame. Use the TextFrame2 property to return a TextFrame2 object.
Example
The following example adds a rectangle to myDocument
, adds text to the rectangle, and then sets the margins for the text frame.
Visual Basic for Applications |
---|
|
See Also