+ Reply to Thread
Results 1 to 4 of 4

Custom Sort Order for Sheets

  1. #1
    Registered User
    Join Date
    09-19-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    8

    Custom Sort Order for Sheets

    I have added a custom sort order to a module I have and it is resulting in an "Run-time error '1004': Application-defined or object defined error." The only code i have added is:
    Please Login or Register  to view this content.
    The entire module is below.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Custom Sort Order for Sheets

    Using a custom sort order works slightly different. Please find a below a very simple example of using a custom sort list that should help you in implementing your requirements

    Please Login or Register  to view this content.
    If you like my contribution click the star icon!

  3. #3
    Registered User
    Join Date
    09-19-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Custom Sort Order for Sheets

    That worked perfectly when I integrated it into the module. Thanks.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Custom Sort Order for Sheets

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 07-10-2013, 03:19 PM
  2. VBA Custom Sort Order Issues
    By Warderbrad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-22-2012, 04:38 PM
  3. Custom Sort items not in alpha order
    By avidcat in forum Excel General
    Replies: 2
    Last Post: 12-10-2012, 07:32 PM
  4. Custom sort order problem
    By mfmcclellan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-04-2012, 05:05 PM
  5. Problems with custom sort order
    By bluphoto in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-11-2008, 06:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1