Share via


TextFrame.AutoMargins Property (Excel)

Returns or sets whether Excel automatically calculates text frame margins. Read/write

Version Information

Version Added: Excel 2010

Syntax

expression .AutoMargins

expression A variable that represents a TextFrame object.

Return Value

Boolean

Remarks

True if Excel automatically calculates text frame margins; otherwise False. When this property is True, the MarginLeft, MarginRight, MarginTop, and MarginBottom properties are ignored.

See Also

Concepts

TextFrame Object

TextFrame Object Members