+ Reply to Thread
Results 1 to 3 of 3

comparing two rows in dynamic cell range

  1. #1
    Registered User
    Join Date
    01-03-2014
    Location
    somewhere
    MS-Off Ver
    Excel 2003
    Posts
    5

    comparing two rows in dynamic cell range

    Ok, greetings all this is my first post (certainly not my last since I'm the only person working on this project). I have very VERY little VBA experience so what you see is kinda similar to my "hello world".

    to make a long story short.. i would like to compare two rows in a dynamic ranged sheet (gets updated from access database upon opening)
    and find a row that matches exactly for the 1st 4 columns(see code), then comparing the 7th column for the highest value out of the two compared
    ,then after all these criteria have been met, throw away the lowest and keep the highest. FOR ALL ROWS (in other words a while loop).

    heres my worthless code
    Please Login or Register  to view this content.
    basically this does absolutely nothing but make my excel sheet take foreveer to open.
    any help would be appreciated, especially since i tried asking one of my college professors for help and he had no idea how to help me out :/

  2. #2
    Registered User
    Join Date
    01-03-2014
    Location
    somewhere
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: comparing two rows in dynamic cell range

    here's the other parts of the workbook
    sorry for replying to my own thread but, i had exceeded the maximum char limit on the OP

    Please Login or Register  to view this content.
    want to help me out but not with this problem? (http://www.excelforum.com/excel-programming-vba-macros/991060-finding-matching-cell-in-another-sheet-in-same-book.html
    Last edited by 3MMM; 02-21-2014 at 12:03 AM. Reason: incase someone wants the rest of my workbook VBA

  3. #3
    Registered User
    Join Date
    01-03-2014
    Location
    somewhere
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: comparing two rows in dynamic cell range

    bump... any sign of life would be appreciated

+ 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: 0
    Last Post: 11-27-2012, 02:51 PM
  2. Replies: 4
    Last Post: 08-08-2012, 01:21 AM
  3. [SOLVED] How to hide rows based on cell value, row range is dynamic.
    By csh8428 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-03-2012, 02:05 PM
  4. Replies: 1
    Last Post: 06-26-2012, 08:50 AM
  5. Looping through rows in range AND comparing range cells
    By Damask in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-16-2006, 10:30 PM

Tags for this Thread

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