+ Reply to Thread
Results 1 to 4 of 4

Sort ascending

Hybrid View

minkus Sort ascending 01-30-2009, 02:58 PM
solnajeff re: Sort ascending 01-30-2009, 03:24 PM
minkus re: Sort ascending 01-30-2009, 04:02 PM
solnajeff re: Sort ascending 01-31-2009, 11:00 AM
  1. #1
    Registered User
    Join Date
    05-17-2007
    Posts
    45

    Sort ascending

    Hello;

    I have an external query and want to sort by schedule date - only problem is there are some items without a start date and these pull up first - I'd like see first the ones with a date, then follow with those without. Is there a way to do it? Thanks for any help!

  2. #2
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    re: Sort ascending

    Hi

    If you select the whole range and sort descending, then select only the range with dates e.g. on the date column find last row with a value
    Range("A65536").end(xlup).row
    and then sort ascendng,

    Regards

    Jeff

  3. #3
    Registered User
    Join Date
    05-17-2007
    Posts
    45

    re: Sort ascending

    uuh.. i'm sorry, you lost me. i'm not sure how to enter in the code, and this would work each time i hit refresh?

  4. #4
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    re: Sort ascending

    Hi

    It is possible to add code to an individual worksheet that will run each time the worksheet changes, this is the "WorksheetChange" event. Rather than trying to explain, if you post a sample of your data I will add the code you need and you can see how it works.

    Regards

    Jeff

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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