United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Product Families
Office
Windows
Windows Server System
Windows Mobile
Developer Tools
Business Solutions
Games & Xbox
MSN
Resources
Microsoft Update
Office Update
Download Center
Help & Support
Security
Volume Licensing
About Microsoft
Company Information
Investor Relations
PressPass for journalists
Popular Places
MSDN (Developers)
TechNet (IT Pros)
Microsoft At Home
Microsoft At Work
Business & Industry
Microsoft partners
Microsoft hardware
Product catalog
Mactopia
Microsoft.com site map
Popular Searches
Templates
ActiveSync
Clip art
Popular Downloads
Windows Defender Beta 2
DirectX End-User Runtime
More popular downloads
Welcome
Sign in
Developer Centers
MSDN Home
Office Developer Center
Home
Library
Learn
Downloads
Support
Community
Printer Friendly Version
Send
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
Office Development
Please Wait
2007 Microsoft Office System
Please Wait
Excel 2007
Please Wait
Excel 2007 Developer Reference
Please Wait
Excel Object Model Reference
Please Wait
Sort Object
Please Wait
Sort Object Members
Sort Object Members
Excel Developer Reference
Represents a sort of a range of data.
Methods
Name
Description
Apply
Sorts the range based on the currently applied sort states.
SetRange
Sets the starting and ending character positions for Sort object.
Properties
Name
Description
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.
Creator
Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.
Header
Specifies whether the first row contains header information. Read/write XlYesNoGuess.
MatchCase
Set to True to perform a case-sensitive sort or set to False to perform non-case sensitive sort. Read/write.
Orientation
Specifies the orientation for the sort. Read/write XlSortOrientation.
Parent
Returns the parent object for the specified object. Read-only.
Rng
Return the range of values on which the sort is performed. Read-only.
SortFields
Stores the sort state for workbooks, lists, and autofilters. Read-only.
SortMethod
Specifies the sort method for Chinese languages. Read/write XlSortMethod.
Manage Your Profile
|
Legal
|
Contact Us
|
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement