Private Sub Command1_Click() Dim length As Integer Dim pos As Integer Dim str As String Dim sel As Integer Dim text As String Dim cnt As Integer 'Dim str2 As String text = Text1.text length = Len(text) cnt = 1 For pos = 1 To length sel = Asc(Mid$(text, pos, 1)) + 1 'sel = Asc(Mid$(text, pos, 1)) + cnt str = str & Chr$(sel) 'str2 = str2 & CStr(sel) & "-" cnt = cnt + 1 Next pos Text2.text = str 'Text3.text = str2 End Sub