1. 1._Val(Objeto)
Convierte a número el contenido de un objeto o texto
2._+ dos funciones: 1._unir, 2._sumar: TextBox3.Text = Val(TextBox1.Text) +
Val(TextBox2.Text)
3._Msgbox: MsgBox("El resultado aparecio correctamete, observalo antes de que
se borre")
4._"" Sirve para vaciar contenido: TextBox3.Text = ""
5._Sacar promedio:TextBox5.Text = (Val(TextBox1.Text) + Val(TextBox2.Text) +
Val(TextBox3.Text) + Val(TextBox4.Text)) / 4
6._Aprobatorio o Reprobatorio: If TextBox5.Text >= 7 Then
MsgBox("Promedio aprobatorio")
If TextBox5.Text < 7 Then
MsgBox("PromedioReprobatorio")
End If
7._ If ComboBox1.Text = "Pesos" Then
TextBox2.Text = TextBox1.Text * 13.5
End If
If ComboBox1.Text = "Dolar" Then
TextBox2.Text = TextBox1.Text / 13.5
End If
8._Coversiones:
If ComboBox1.Text = "km" Then
TextBox2.Text = TextBox1.Text / 1000
End If
If ComboBox1.Text = "hm" Then
TextBox2.Text = TextBox1.Text / 100
End If
If ComboBox1.Text = "dam" Then
TextBox2.Text = TextBox1.Text / 10
End If
If ComboBox1.Text = "m" Then
TextBox2.Text = TextBox1.Text / 1
End If
If ComboBox1.Text = "dm" Then
TextBox2.Text = TextBox1.Text * 10
End If
If ComboBox1.Text = "cm" Then
TextBox2.Text = TextBox1.Text * 100
End If
If ComboBox1.Text = "mm" Then
TextBox2.Text = TextBox1.Text * 1000
End If