If Val(Text1) > Val(Text2) Then MsgBox Text1.Text & "es mayor" Else MsgBox Text2.Text & "es mayor" End If