Académique Documents
Professionnel Documents
Culture Documents
USERFROM 1
num1 = Val(TextBox1)
num2 = Val(TextBox2)
MsgBox " EL NUMERO " & num1 & " ES MAYOR QUE " & num2
Else
MsgBox " EL NUMERO " & num2 & " ES MAYOR QUE " & num1
End If
TextBox1 = Empty
TextBox2 = Empty
End Sub
MODULO
Sub calcular()
num1 = Range("A1")
Range("B1").Select
ActiveCell.FormulaR1C1 = "APROBO"
Else
Range("B1").Select
ActiveCell.FormulaR1C1 = "DESAPROBO"
End If
End Sub
Sub ABRIR_FORMULARIO()
Load UserForm1
UserForm1.Show
End Sub