Text (Grid)

This property returns and sets the text contents of a cell or range of cells.

Syntax

object.Text [= string]

Parameters

object
Object expression that evaluates to a Grid control.
string
String expression that contains the text contents of a cell or range of cells.

Remarks

The Text property always retrieves the contents of the current cell. A cell’s content is defined using the Row and Col properties.

The Text property sets the contents of the current cell or of the current selection, depending on the setting of the FillStyle property.