+ Reply to Thread
Results 1 to 2 of 2

Visual Basic Macro Sorting help

  1. #1
    Registered User
    Join Date
    02-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    1

    Visual Basic Macro Sorting help

    I am trying to search through a row of a table and find the biggest value. Then I need to return that value but also the column that it is in. Here is my code so far.

    Please Login or Register  to view this content.
    I am mostly not sure if I am calling cells right from excel using the concatenation. I have to do this over several rows and would be up for better options if available. Thanks

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Visual Basic Macro Sorting help

    Perhaps you can find something of use in this code?

    Please Login or Register  to view this content.
    Instead of
    Please Login or Register  to view this content.
    for searching all values in active sheet you could instead use

    Please Login or Register  to view this content.
    to search column A, B and C or you could define a specific range to search.

    Alf

+ 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