+ Reply to Thread
Results 1 to 4 of 4

How to "sort" league tables automatically based on changing forecasts

Hybrid View

Gooford How to "sort" league tables... 05-08-2010, 06:26 AM
contaminated Re: How to "sort" league... 05-08-2010, 07:10 AM
Marcol Re: How to "sort" league... 05-08-2010, 07:30 AM
Gooford Re: How to "sort" league... 05-08-2010, 08:47 AM
  1. #1
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: How to "sort" league tables automatically based on changing forecasts

    Here's a VBa way also

    Private Sub Worksheet_Change(ByVal Target As Range)
        Dim isect As Range
        
        Set isect = Application.Intersect(Target, Range("N6:N9"))
        If Not isect Is Nothing Then
            Range("M6:N9").Sort Key1:=Range("N6"), Order1:=xlDescending
            Exit Sub
        End If
    
        'add code for each range as above (It's all done in example sheet)
    
    End Sub

    See attached file
    Attached Files Attached Files
    Last edited by Marcol; 05-08-2010 at 07:38 AM. Reason: Forgot Code tags!

+ 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