I would like to know how to capture the #REF!
error in Excel.
I am able to catch error in vba with the following code :
If WorksheetFunction.IsError(ActiveCell) Then
If ActiveCell.Value = CVErr(xlErrRef) Then
ActiveCell.Value = "Error"
End If
End If
I would like to write the same function in Excel Formula Bar. Any ideas how to do it?
Thanks.