Results 1 to 7 of 7

Vba for row number of evaluate and max

Threaded View

  1. #1
    Registered User
    Join Date
    11-17-2009
    Location
    Manchester
    MS-Off Ver
    Excel 2003
    Posts
    27

    Vba for row number of evaluate and max

    Hi all

    Scratched my head with this one most of yesterday before giving up and now seeking your advice!!

    The result of my code needs to select the row of a result using the below vba. The below will currently display the cells value.

    Private Sub CommandButton3_Click()
    
    Dim Newby As Single
    
    With ActiveSheet
    
    Newby = .Evaluate("MIN(IF(R1:R1000>=20,R1:R1000))")
    
    Sheets("Data").Range("L1").Value = Newby
    
    End With
    
    End Sub
    Any help greatly appreciated!!!
    Last edited by stevow; 04-20-2010 at 09:58 AM.

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