Just Loop through the MSFlexGrid rows and columns - no need for an array. Note the following assumes all columns will be checked for a Min or Max values. Adjust the code to suit your needs.
VB Code:
Dim lngRow As Long
Dim lngCol As Long
Dim lngMax As Long
Dim lngMin As Long
With MSFlexGrid
For lngRow = .FixedRows to .Rows - 1
lngMax = Val(.TextMatrix(lngRow,.FixedCols)
lngMin = Val(.TextMatrix(lngRow,.FixedCols)
For lngCol = .FixedCols to .Cols - 1
If lngMin > Val(.TextMatrix(lngRow,.FixedCols) Then
lngMin = Val(.TextMatrix(lngRow,.FixedCols)
End If
If lngMax < Val(.TextMatrix(lngRow,.FixedCols) Then