WordWrap (Grid)

This property returns and sets a value that determines whether text within a cell is broken between words if a word extends past the edge of the cell.

Syntax

object.WordWrap [= Boolean]

Parameters

object
Object expression that evaluates to a Grid control object.
Boolean
Boolean expression that determines if the text within a cell wraps. This property is False by default.

Remarks

A Grid control can display text slightly faster if you set WordWrap to False.

You also can use a return character—Chr(13)—to force line breaks.