|
Private Sub CommandButton1_Click()<br/>Dim i As Integer<br/>Dim j As Integer<br/>?For i = 32 To 99<br/>牋?j = i * i<br/>牋?If Mid(CStr(j), 1, 1) = Mid(CStr(j), 2, 1) And Mid(CStr(j), 3, 1) = Mid(CStr(j), 4, 1) Then<br/>牋牋牋?MsgBox "this number is " & j<br/>牋牋牋?Exit Sub<br/>牋?End If<br/>?Next i<br/>End Sub<br/> |
|