Range.Precedents Property

Excel Developer Reference

Returns a Range object that represents all the precedents of a cell. This can be a multiple selection (a union of Range objects) if there's more than one precedent. Read-only.

Syntax

expression.Precedents

expression   A variable that represents a Range object.

Example

This example selects the precedents of cell A1 on Sheet1.

Visual Basic for Applications
  Worksheets("Sheet1").Activate
Range("A1").Precedents.Select

See Also