TextFrame.AutoMargins Property
True if Microsoft Excel automatically calculates text frame margins. Read/write Boolean.
Syntax
expression.AutoMargins
expression A variable that represents a TextFrame object.
Remarks
When this property is True, the MarginLeft, MarginRight, MarginTop, and MarginBottom properties are ignored.
Example
This example causes Microsoft Excel to automatically calculate text frame margins for text in shape one.
| Visual Basic for Applications |
|---|
|