Professional Documents
Culture Documents
End Sub
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text1.SetFocus
End Sub
End
End Sub
Private Sub Command1_Click()
Text2.Text = "Positivo"
Else
Text2.Text = "Negativo"
End If
End Sub
Text1.Text = ""
Text2.Text = ""
Text1.SetFocus
End Sub
End
End Sub
Private Sub Command1_Click()
Else
End If
End Sub
Text1.Text = ""
Text2.Text = ""
Text1.SetFocus
End Sub
End
End Sub
Private Sub Command1_Click()
Else
End If
End Sub
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text1.SetFocus
End Sub
End
End Sub
Private Sub Command1_Click()
Text4.Text = Val(Text1.Text)
Else
Text4.Text = Val(Text3.Text)
End If
Else
Text4.Text = Val(Text2.Text)
Else
Text4.Text = Val(Text3.Text)
End If
End If
End Sub
Text1 = ""
Text2 = ""
Text3 = ""
Text4 = ""
Text1.Text
End Sub
End
End Sub
Private Sub Command1_Click()
Text2.Text = Val(Text1.Text) * 75
Else
Text2.Text = Val(Text1.Text) * 85
Else
Text2.Text = Val(Text1.Text) * 95
End If
End If
End Sub
Text1.Text = ""
Text2.Text = ""
Text1.SetFocus
End Sub
End
End Sub
Private Sub Command1_Click()
Dim P As Double
If Val(Combo2.Text) = 1 Then
P = Val(Text1.Text) + 0.2
Else
P = Val(Text1.Text) + 0.3
End If
Else
If Val(Combo2.Text) = 1 Then
P = Val(Text1.Text) - 0.3
Else
P = Val(Text1.Text) - 0.5
End If
End If
Text3.Text = P * Val(Text2.Text)
End Sub
Combo1.Text = ""
Combo2.Text = ""
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text1.SetFocus
End Sub
End
End Sub