SortFields Object Members

Excel Developer Reference

The SortFields collection is a collection of SortField objects. It allows developers to store a sort state on workbooks, lists, and autofilters.

Methods

  Name Description
Bb225702.methods(en-us,office.12).gif Add Creates a new sort field and returns a SortFields object.
Bb225702.methods(en-us,office.12).gif Clear Clears all the SortFields objects.

Properties

  Name Description
Bb225702.properties(en-us,office.12).gif Application When used without an object qualifier, this property returns an Application object that represents the Microsoft Office Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object. Read-only.
Bb225702.properties(en-us,office.12).gif Count Returns the number of objects in the collection. Read-only Long.
Bb225702.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.
Bb225702.properties(en-us,office.12).gif Item Returns a SortField object that represents a collection of items that can be sorted in a workbook. Read-only.
Bb225702.properties(en-us,office.12).gif Parent Returns the parent object for the specified object. Read-only.