ShowErrors Method Example

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