+ Reply to Thread
Results 1 to 3 of 3

Display highest number in group in row L

  1. #1
    Registered User
    Join Date
    08-28-2014
    Location
    NJ
    MS-Off Ver
    2010
    Posts
    50

    Display highest number in group in row L

    the code at the bottom was written for me. It worked in a previous sample sheet but I can't get it to work real time. If you open the sheet, you'll see that it doesn't work. But it DID work on a different sheet. I'm baffled. Please help.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by RomanGriffen; 09-03-2014 at 03:47 PM. Reason: fixing errors

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Display highest number in group (part two)

    MyArea.Offset(-1).Resize(1), your area starts in row 1, so youll need to trap that on the 1st go, the rest should be ok. You are trying to put a value in L0
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Display highest number in group (part two)

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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. [SOLVED] Display highest number in group
    By RomanGriffen in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-29-2014, 07:46 PM
  2. Replies: 2
    Last Post: 04-16-2013, 08:14 AM
  3. Work out highest number and display another column
    By danielseward408 in forum Excel General
    Replies: 3
    Last Post: 08-21-2012, 03:51 PM
  4. [SOLVED] Lowest number of corresponding category that is part of a group
    By jrm0523 in forum Excel General
    Replies: 6
    Last Post: 04-14-2012, 07:55 PM
  5. Display Highest Number??
    By softz in forum Excel General
    Replies: 2
    Last Post: 07-06-2009, 12:09 AM

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