ShowErrors Method

Applies To

Range Object.

Description

Draws tracer arrows through the precedents tree to the cell that is the source of the error, and returns the range that contains the source of the error.

Syntax

object.ShowErrors

object

Required. The Range object.

See Also

ClearArrows Method, ShowDependents Method, ShowPrecedents Method.

Example

This example displays a red tracer arrow if there is an error in the active cell on Sheet1.


Worksheets("Sheet1").Activate
If IsError(ActiveCell.Value) Then
    ActiveCell.ShowErrors
End If