FixedCols, FixedRows Properties (MSHFlexGrid) Example

The following code sets the first row and the first and second columns to fixed.

Note   If you are using the MSFlexGrid, substitute "MSHFlexGrid1" with "MSFlexGrid1."

Sub Form1_Load () 
   MSHFlexGrid1.FixedCols = 2
   MSHFlexGrid1.FixedRows = 1
End Sub