VSFlexGrid Control > VSFlexGrid Properties, Events, and Methods > VSFlexGrid Properties > ValueMatrix Property |
Returns the numeric value of a cell identified by its row and column coordinates.
val# = [form!]VSFlexGrid.ValueMatrix(Row As Long, Col As Long)
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)
Double