Syntax

expression.AutoMargins

expression A variable that represents a TextFrame object.

Remarks

When this property is True, the , , , and properties are ignored.

Example

This example causes Microsoft Excel to automatically calculate text frame margins for text in shape one.

Visual Basic for Applications
Worksheets(1).Shapes(1).TextFrame.AutoMargins = True
auto margins Auto Margins Property AutoMargins AutoMargins Property Check to see if text frame margins are calculated automatically? Toggle auto margins for textframe?

See also: