+ Reply to Thread
Results 1 to 7 of 7

Find The Match For All The Cells From A Range In Another Sheet And Use Their Color

  1. #1
    Registered User
    Join Date
    07-19-2010
    Location
    Bucharest
    MS-Off Ver
    Office 2007
    Posts
    29

    Find The Match For All The Cells From A Range In Another Sheet And Use Their Color

    Hi All;

    Would like to thank you in advance for sparing your time and help.

    What I would like to do is, to find the values of the cells from a range in Sheet1 within a range in Sheet2 and then use the background color of the matching cell in Sheet2 for the cell from Sheet1.

    Here is the code I've tried with no success and my further attempts didn't work so far.

    Please Login or Register  to view this content.
    When I run the code above, all the cells in range from Sheet1 gets BLACK background color.

    Best Regards;

    Gokhan

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Find The Match For All The Cells From A Range In Another Sheet And Use Their Color

    Try this:

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-19-2010
    Location
    Bucharest
    MS-Off Ver
    Office 2007
    Posts
    29

    Re: Find The Match For All The Cells From A Range In Another Sheet And Use Their Color

    Thanks a lot for the prompt answer.

    I've tried the code above but the result was the same. All the cells within the range ended up with black background color.

    Best Regards;

    tac

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Find The Match For All The Cells From A Range In Another Sheet And Use Their Color

    Would love to see this sheet where this is happening.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Registered User
    Join Date
    07-19-2010
    Location
    Bucharest
    MS-Off Ver
    Office 2007
    Posts
    29

    Re: Find The Match For All The Cells From A Range In Another Sheet And Use Their Color

    Here is the sheet. Thanks again for your time.

    tac
    Attached Files Attached Files

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Find The Match For All The Cells From A Range In Another Sheet And Use Their Color

    My apologies... bad error:

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    07-19-2010
    Location
    Bucharest
    MS-Off Ver
    Office 2007
    Posts
    29

    Re: Find The Match For All The Cells From A Range In Another Sheet And Use Their Color

    Nope, my apologies for taking your time. Works like a charm. You're great, thanks a lot for the help.

    Best Regards;

    tac

+ 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. Range.Find function fails to find a match but For loop confirms that match exists
    By 6StringJazzer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2013, 03:35 PM
  2. Replies: 5
    Last Post: 02-21-2013, 07:17 PM
  3. [SOLVED] Find match between ranges, then sum their associated cells in a different range
    By burnettec in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-17-2013, 12:08 AM
  4. Replies: 12
    Last Post: 09-18-2012, 03:13 PM
  5. Loop Through A Range, Find Cells > 1, Copy Offset To Another Sheet
    By bugmenot in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-25-2008, 06:30 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