This is what I am using to edit only one column in my flexgrid. column 10
Private Sub MSFlexGrid1_KeyPress(KeyAscii As Integer)
Dim sTemp As String
sTemp = .TextMatrix(.Row, .Col)
If .Col <> 10 Then Exit Sub ' This might need to be 7
Select Case KeyAscii
Case 8 ' backspace
If Len(sTemp) > 0 Then
sTemp = Left$(sTemp, Len(sTemp) - 1)
Case 27 ' escape
sTemp = ""
Case 0 To 31
KeyAscii = 0
sTemp = sTemp & Chr$(KeyAscii)
.TextMatrix(.Row, .Col) = sTemp
The problem is that when I edit the column it begins at the far right of the data and then I have to delete each character one at a time in order to edit or replace the data. Can I not be able to just simply highlight a specific word or portion and then just edit like I do in a word document? How can I edit values simply by highlighting and editing?