I want to determine if a cell has returned the #REF! Error using an if statement, I have no idea how to address this.
I've tried:
To no avail, returns a type mismatch, any other ideas? :)Code:If [Cell] = "#REF!" Then....
![]() |
I want to determine if a cell has returned the #REF! Error using an if statement, I have no idea how to address this.
I've tried:
To no avail, returns a type mismatch, any other ideas? :)Code:If [Cell] = "#REF!" Then....
Try this:
If Evaluate("=ERROR.TYPE(" & Address & ")") = 4 Then
action code
End If
Same problem, type mismatch :/
All times are GMT -7. The time now is 04:52 AM. |