Hi,
I tried this Macro, but didn't work.
Can anyone help me get wat's wrong?
Sub A()
If Range("B18").Value = "NOVA" And (B19) = "SIM" Then
Call BAIXAS_REF_NOVA
ElseIf [B8] = "ANTIGA" And [B19] = "SIM" Then
Call BAIXAS_REF_ANTIGA
End If
End Sub
--------------
Resume: If B18="NOVA" And B19="SIM" Then Run Macro BAIXAS_REF_NOVA ; If B18="ANTIGA" And B19="SIM" then run Macro BAIXAS_REF_ANTIGA
Don't get any error, but it won't run the Macros.
Thanks
I tried this Macro, but didn't work.
Can anyone help me get wat's wrong?
Sub A()
If Range("B18").Value = "NOVA" And (B19) = "SIM" Then
Call BAIXAS_REF_NOVA
ElseIf [B8] = "ANTIGA" And [B19] = "SIM" Then
Call BAIXAS_REF_ANTIGA
End If
End Sub
--------------
Resume: If B18="NOVA" And B19="SIM" Then Run Macro BAIXAS_REF_NOVA ; If B18="ANTIGA" And B19="SIM" then run Macro BAIXAS_REF_ANTIGA
Don't get any error, but it won't run the Macros.
Thanks