Well, I can't make it fail
Code:
Private Sub flxgd_EnterCell()
With flxgd
Select Case .Col
Case 4, 7 To .Cols - 1
msgtxt.Enabled = True
msgtxt.Visible = True
msgtxt.SetFocus
msgtxt.Move .Left + .CellLeft, .Top + .CellTop, .CellWidth, .CellHeight
msgtxt.Text = .Text
End Select
End With
End Sub
Private Sub Form_Load()
Dim intI As Integer
Dim intJ As Integer
flxgd.Cols = 10
flxgd.Rows = 5
flxgd.FixedCols = 1
flxgd.FixedRows = 1
For intI = 0 To flxgd.Rows - 1
For intJ = 0 To flxgd.Cols - 1
flxgd.TextMatrix(intI, intJ) = intJ
Next intJ
Next intI
End Sub
Did you post the exact code or just the edited highlights?