S
slim
I'd like to make a small error catch in a macro that will halt it if a
formula produces an error of #VALUE!
I was thinking something like this:
If Range("C25").Value = "#VALUE!" Then
MsgBox "Please Login before executing this macro"
Exit Sub
End If
Obviously my syntax is off. Can someone help me with this?
Thanks.
formula produces an error of #VALUE!
I was thinking something like this:
If Range("C25").Value = "#VALUE!" Then
MsgBox "Please Login before executing this macro"
Exit Sub
End If
Obviously my syntax is off. Can someone help me with this?
Thanks.