Option Explicit Private Sub Command1_Click() 'abc + cba = 1333 Dim a As Long, b As Long, c As Long For a = 0 To 9 For b = 0 To 9 For c = 0 To 9 If a <> b And a <> c And b <> c Then If CLng(a & b & c) + CLng(c & b & a) = 1333 Then Print a; b; c, a & b & c & " + " & c & b & a & " = " & CLng(a & b & c) + CLng(c & b & a) End If End If Next Next Next