How to select all the rows in the MSFlexgrid through code? Iam trying to print data from the grid, Before printing i would like to select all the rows from the grid.
Thanks
Printable View
How to select all the rows in the MSFlexgrid through code? Iam trying to print data from the grid, Before printing i would like to select all the rows from the grid.
Thanks
Hello:
If I understand you correctly, you can use this
private Sub Command1_Click()
MSFlexGrid1.ColSel = Val(Text1.Text)
MSFlexGrid1.RowSel = Val(Text2.Text)
End Sub
You can put in the number of rows and columns that you want.
Good Luck