+ Reply to Thread
Results 1 to 1 of 1

sorts on goal difference

  1. #1
    Registered User
    Join Date
    06-19-2007
    Posts
    4

    sorts on goal difference

    I assigned a macro to a button to perform this task: After inputting a round of soccer results, clicking on the button sorts the order of the league table. using the sort command I was able to sort the table firstly based on the number of points each team has. If teams are level on points, it then sorts on goal difference. If still level it then sorts on most goals scored.

    Please Login or Register  to view this content.

    My problem is, in the off-chance two teams are level in every way (same points, goal difference, goals scored) I'd need to sort Alphabetically, ascending. I though it'id be as simple as adding 'Key4:=Range("G3"), Order4:=xlAscending,' but this gives an error message. Can anyone advise please.


    Thanks. Stuart
    Last edited by rfc5141; 06-19-2007 at 08:24 AM.

+ 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