Private Sub Command1_Click() Dim a As String, b As String Dim n As Integer, k As Integer Dim i As Integer a = Text1 b = Text2 n = Asc(Mid(a, 1, 1)) k = 1 For i = 2 To Len(a) If Asc(Mid(a, i, 1)) < n Then n = Asc(Mid(a, i, 1)) k = i End If Next If k = Len(a) Then Text3 = a & b Else Text3 = Mid(a, 1, k) & b & Mid(a, k + 1) End If End Sub