Private Sub Command1_Click()
Dim b As Integer, e As Integer
Dim i As Integer, j As Integer
Dim a As String
b = Asc(Text1.Text)
e = Asc(Text2.Text)
a = ""
For i = b To e
a = a & Chr(i)
Next
Print a
For i = 1 To e - b
a = Mid(a, 2) & Mid(a, 1, 1)
Print a
Next
End Sub