Cur = TextBox1.SelectionStart If Cur <= 0 Then y = 1 : x = 1 Else c = 0 : y = 0 Do x = Cur - c c += TextBox1.Lines(y).Length + 2 If Cur < c Then Exit Do y += 1 Loop For xx = x - 1 To 0 Step -1 If AscW(TextBox1.Lines(y).Substring(xx, 1)) >= 256 Then x += 1 Next y += 1 : x += 1 End If Label1.Text = y & "行 " & x & "桁"