Private Sub Command1_Click()
Dim a As Integer, myTempStr As String, myOutput As String
For a = 1 To Len(Text1.Text)
myTempStr = Mid(Text1.Text, a, 1)
If InStr(1, myOutput, myTempStr) = 0 Then myOutput = myOutput & myTempStr
Next
MsgBox myOutput
End Sub