Range.DirectPrecedents property (Excel)
Returns a Range object that represents the range containing all the direct precedents of a cell. This can be a multiple selection (a union of Range objects) if there's more than one precedent. Read-only Range object.
expression A variable that represents a Range object.
The DirectPrecedents property only works on the active sheet and cannot trace remote references.
This example selects the direct precedents of cell A1 on Sheet1.
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.