- Katılım
- 10 Mart 2011
- Mesajlar
- 2
- Excel Vers. ve Dili
- 2007 türkçe
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub OptionButton1_Click()
TextBox3 = Val(TextBox1) + Val(TextBox2)
End Sub
Private Sub OptionButton2_Click()
TextBox3 = Val(TextBox1) - Val(TextBox2)
End Sub
Private Sub OptionButton3_Click()
TextBox3 = Val(TextBox1) / Val(TextBox2)
End Sub
Private Sub OptionButton4_Click()
TextBox3 = Val(TextBox1) * Val(TextBox2)
End Sub
Private Sub OptionButton1_Click()
TextBox1_Change
End Sub
Private Sub OptionButton2_Click()
TextBox1_Change
End Sub
Private Sub OptionButton3_Click()
TextBox1_Change
End Sub
Private Sub OptionButton4_Click()
TextBox1_Change
End Sub
Private Sub TextBox1_Change()
If OptionButton1.Value = True Then
TextBox3.Text = Val(TextBox1.Value) + Val(TextBox2.Value)
ElseIf OptionButton2.Value = True Then
TextBox3.Text = Val(TextBox1.Value) - Val(TextBox2.Value)
ElseIf OptionButton3.Value = True Then
TextBox3.Text = Val(TextBox1.Value) / Val(TextBox2.Value)
ElseIf OptionButton4.Value = True Then
TextBox3.Text = Val(TextBox1.Value) * Val(TextBox2.Value)
End If
End Sub
Private Sub TextBox2_Change()
If OptionButton1.Value = True Then
TextBox3.Text = Val(TextBox1.Value) + Val(TextBox2.Value)
ElseIf OptionButton2.Value = True Then
TextBox3.Text = Val(TextBox1.Value) - Val(TextBox2.Value)
ElseIf OptionButton3.Value = True Then
TextBox3.Text = Val(TextBox1.Value) / Val(TextBox2.Value)
ElseIf OptionButton4.Value = True Then
TextBox3.Text = Val(TextBox1.Value) * Val(TextBox2.Value)
End If
End Sub