Text Property (MSHFlexGrid)

       

Returns or sets the text content of a cell or range of cells.

Syntax

object.Text [=string]

The Text property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
string A string expression containing the text from a cell or range of cells.

Remarks

When retrieving, the Text property always retrieves the contents of the current cell as defined by the Row and Col properties.

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