SortField.Key property (Excel)

Specifies the range that is currently being sorted on. Read-only.

Syntax

expression.Key

expression A variable that represents a SortField object.

Remarks

The key can either be a range name (String) or a Range object.

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.