+ Reply to Thread
Results 1 to 7 of 7

Activate a row which has the highest value.

  1. #1
    Registered User
    Join Date
    01-09-2020
    Location
    Spore
    MS-Off Ver
    2006
    Posts
    3

    Activate a row which has the highest value.

    Let say i have the below.
    A
    1 1999
    2 2000
    3 2001


    I want to activate row3 as compare to row 2 n 1 it has the largest value..
    How to i do it ?
    Thx u

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Activate a row which has the highest value.

    Hi and welcome
    what do you mean by "activate"?

  3. #3
    Registered User
    Join Date
    01-09-2020
    Location
    Spore
    MS-Off Ver
    2006
    Posts
    3

    Re: Activate a row which has the highest value.

    That means to select row 3 so that i can display the result from 2001 in another cell .. hope it is clearer

    A. B
    1 1999. B+
    2 2000
    3 2001. A*

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Activate a row which has the highest value.

    Are you entering the value manually?

  5. #5
    Registered User
    Join Date
    01-09-2020
    Location
    Spore
    MS-Off Ver
    2006
    Posts
    3

    Re: Activate a row which has the highest value.

    No I’m not it is a spreadsheet with many of such comparions for example student A result from 1999 to 2001 or student b results from 2003 to 2005... i will like to use vba to solve it

  6. #6
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: Activate a row which has the highest value.

    If I understand correctly.
    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  7. #7
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,307

    Re: Activate a row which has the highest value.

    A workbook would save a thousand questions.
    Follow the big yellow banner at the head of the page.

+ 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: 3
    Last Post: 05-27-2019, 06:19 AM
  2. Replies: 3
    Last Post: 06-09-2016, 12:51 PM
  3. [SOLVED] Max formula to return total of highest, second highest and third highest value
    By JonWilf in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-06-2016, 08:20 AM
  4. Replies: 3
    Last Post: 10-10-2012, 05:10 PM
  5. Activate the highest/newest worksheet in a workbook
    By Belgarath75 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-21-2011, 08:31 PM
  6. Replies: 5
    Last Post: 06-05-2007, 10:06 AM
  7. [SOLVED] Workbook.Activate / Window.Activate problem
    By Tim in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-03-2006, 07:40 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