Skip to content

Latest commit

 

History

History
34 lines (15 loc) · 616 Bytes

bf434f76-5749-8163-f737-b3bd624092d5.md

File metadata and controls

34 lines (15 loc) · 616 Bytes

TextFrame.AutoSize Property (Excel)

True if the size of the specified object is changed automatically to fit text within its boundaries. Read/write Boolean .

Syntax

expression . AutoSize

expression A variable that represents a TextFrame object.

Example

This example adjusts the size of the text frame on shape one to fit its text.

Worksheets(1).Shapes(1).TextFrame.AutoSize = True

See also

Concepts

TextFrame Object

Other resources

TextFrame Object Members