Range.ShowErrors method (Excel)
Draws tracer arrows through the precedents tree to the cell that's the source of the error, and returns the range that contains that cell.
expression A variable that represents a Range object.
This example displays a red tracer arrow if there's an error in the active cell on Sheet1.
Worksheets("Sheet1").Activate If IsError(ActiveCell.Value) Then ActiveCell.ShowErrors End If
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.