Hi all
Now I am trying to get selected position where user clicks on DataGrid.
My test code is as follows.
Private Sub dgTrouble_Click()
Debug.Print "Row :", CStr(dgTrouble.Row)
Debug.Print "Col :", CStr(dgTrouble.Col)
End Sub
When I clicked certain cell on DataGrid for the first time,
I got a position data .
Then I clicked same cell , I got different position data.
But after this click, I got same position data at this cell.
I want to get same position data at first click.
Please give me some advices for resolving above problem.
Now I am trying to get selected position where user clicks on DataGrid.
My test code is as follows.
Private Sub dgTrouble_Click()
Debug.Print "Row :", CStr(dgTrouble.Row)
Debug.Print "Col :", CStr(dgTrouble.Col)
End Sub
When I clicked certain cell on DataGrid for the first time,
I got a position data .
Then I clicked same cell , I got different position data.
But after this click, I got same position data at this cell.
I want to get same position data at first click.
Please give me some advices for resolving above problem.