Private Sub Command1_Click()
Dim i, sum As Long
sum = Val(Text2.Text)
i = Val(Text1.Text)
If i Mod 2 = 1 Then
sum = sum + i
Text2.Text = sum
End If
End Sub
Private Sub Command2_Click()
End
End Sub
Dim i, sum As Long
sum = Val(Text2.Text)
i = Val(Text1.Text)
If i Mod 2 = 1 Then
sum = sum + i
Text2.Text = sum
End If
End Sub
Private Sub Command2_Click()
End
End Sub