Cell.FitText property (Word)

True if Microsoft Word visually reduces the size of text typed into a cell so that it fits within the column width. Read/write Boolean.

Syntax

expression. FitText

expression A variable that represents a 'Cell' object.

Remarks

If the FitText property is set to True, the font size of the text is not changed, but the visual width of the characters is adjusted to fit all the typed text into the cell.

Example

This example sets the first cell in the selection to automatically fit typed text within its width.

Selection.Cells(1).FitText = True

See also

Cell Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.