First: is an empty row on the end of the gris normal? code OK ?
second : you can check if there is an empty cell selected like this:
create a form with a MSFlexgrid and enter the code=
===========================================
Private Sub Form_Load()
Dim i As Integer
'§ populate the grid
With MSFlexGrid1
.FixedCols = 0
.FixedRows = 0
.Cols = 1
.Rows = 1
For i = 1 To 10
.AddItem i, i
Next
.AddItem "", 11
End With
End Sub
Private Sub MSFlexGrid1_Click()
If MSFlexGrid1.Text = "" Then
MsgBox ("Select other cell")
Else
MsgBox ("This is OK => enter here the code to proceed.....")
End If
End Sub
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.