AutoFitColumns Method

See Also         Example         Applies To

Changes the width of the columns in the specified range to achieve the best fit.

Syntax

expression.AutoFitColumns

expression   An expression that returns a Range object.