TextArray

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

Syntax

object.TextArray(cellindex) [= string]

Parameters

object
Object expression that evaluates to a Grid control.
cellindex
Integer. Numeric expression that specifies which cell to read or write.
string
String expression that contains the contents of an arbitrary cell.

Remarks

This property enables you to set or retrieve the contents of a cell without changing the Row and Col properties.

The cellindex parameter determines which cell to use. To calculate cellindex, multiply the desired row by the Cols property and add the desired column.