Consulting

Results 1 to 5 of 5

Thread: Need help rearranging VBA to search from a rangei a range for duplicates to HL please

  1. #1
    VBAX Mentor
    Joined
    Feb 2016
    Posts
    382
    Location

    Need help rearranging VBA to search from a rangei a range for duplicates to HL please

    I have data in the range from B2:I71 I need to run the macro to search in the data range V2:JX71 for the duplicates of the range B2:I71 and highlight them in the range V2:JX71.

    The current CODE uses data in a column, but need the source data to be a range.

    I am attaching a file for the example.

    Thank you in advance for you help on this

    also on the example youll see some cells colored red, this is for another macro disrgard these.


    for this macro request I put the "10" for the color green to color the duplicate cells for this request.
    thank you
    Attached Files Attached Files
    Last edited by estatefinds; 08-27-2016 at 08:47 AM.

  2. #2
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    How about you post the original code you want edited.
    Then you post the code the way you think it should be.



    You have been here long enough to start learning VBA and stop using us as your Free IT department.

    We are very happy to help those who help themselves, especially happy to help them learn VBA.
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  3. #3
    VBAX Mentor
    Joined
    Feb 2016
    Posts
    382
    Location
    i was just clarifying to avoid confusion as to why the cells were red.


    I am trying to learn VBA its not easy for me.

    I have been learning how to edit lines in VBA but do occaissionaly get stuck.

    with this code I actually figured it out using;

    Set rCriteria = Range("B2:I71")Set rData = Range("V2:JX71")

    not using as a free IT department. Thank s any ways.

  4. #4
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    You're very welcome.

    I am glad that you figured it out by yourself, that is the best way to learn.

    When you can't get something to work, Come on back and we will get you there.
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  5. #5
    VBAX Mentor
    Joined
    Feb 2016
    Posts
    382
    Location
    Ok thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •