Show AllShow All

ShrinkToFit Property

ShowShrinkToFit property as it applies to the Style object.

ShowShrinkToFit property as it applies to the CellFormat and Range objects.

Example

This example causes text in row one to automatically shrink to fit in the available column width.

Rows(1).ShrinkToFit = True