ValueMatrix Property

Returns the numeric value of a cell identified by its row and column coordinates.

Syntax

val# = [form!]VSFlexGrid.ValueMatrix(Row As Long, Col As Long)

Remarks

This property is similar to the Value property, except it allows you to specify the cell whose value is to be retrieved.

The following code outputs the value of an arbitrary cell to the debug window:

    Debug.Print fg.ValueMatrix(1, 1)

Data Type

Double

See Also

VSFlexGrid Control