Professional Documents
Culture Documents
Codigos Practica 6
Codigos Practica 6
Sub MacroMensaje()
a = Range("B7").Value
Range("C7").Value = ""
If a > 100 Then
Range("C7").Value = "VALOR GRANDE"
End If
End Sub
================================================
Sub MacroEnfoque()
a = Range("F7").Value
Range("G7").Value = ""
If UCase(a) = "SISTEMAS" Then
Range("G7").Value = "COMPUTACION"
End If
End Sub
================================================
Sub MacroBono()
a = Range("J7").Value
Range("K7").Value = ""
If a <> 3000 Then
Range("K7").Value = "APROBADO"
End If
End Sub
================================================