+ Reply to Thread
Results 1 to 5 of 5

VBA code for find value in another sheet, if yes then color it

  1. #1
    Registered User
    Join Date
    06-21-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    81

    VBA code for find value in another sheet, if yes then color it

    Hi Experts

    Need your help in understanding how it works in the below scenario. Sheet1 value should get matched in sheet2. if sheet 1 value is not matching with sheet 2 value then sheet1 value should get highlighted. I need this in VBA. in the below scenario, A2 cell should get highlighted. Please help me in this

    Sheet1

    A1 = 12
    A2 = 13
    A2 = 15

    Sheet2

    A1 = 15
    A2 = 12

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Tampa, Florida
    MS-Off Ver
    Excel 2013
    Posts
    142

    Re: VBA code for find value in another sheet, if yes then color it

    Try this:

    Please Login or Register  to view this content.

  3. #3
    Spammer
    Join Date
    02-04-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2013
    Posts
    190

    Re: VBA code for find value in another sheet, if yes then color it

    look to my solution
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-21-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    81

    Re: VBA code for find value in another sheet, if yes then color it

    Hi Jean,

    Thats Awesome. Its working super.

    Just have one doubt. How come it is active always. when ever there is change in the data, it is getting highlighted. Normally data will always get changed when we use declarations as for as i know.

    Thanks

  5. #5
    Spammer
    Join Date
    02-04-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2013
    Posts
    190

    Re: VBA code for find value in another sheet, if yes then color it

    Look after the sheet code
    Please Login or Register  to view this content.

+ 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. Color code info based on sheet found
    By 10ika in forum Excel General
    Replies: 3
    Last Post: 03-08-2016, 10:30 AM
  2. VBA Code to find range from Input sheet and hide respective columns in sheet 2.
    By skonduru in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-26-2016, 11:56 AM
  3. find numbers from one sheet in another range and color them
    By ammartino44 in forum Excel General
    Replies: 2
    Last Post: 04-18-2015, 03:28 PM
  4. [SOLVED] Find The Match For All The Cells From A Range In Another Sheet And Use Their Color
    By taccoo73 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-25-2014, 10:45 AM
  5. [SOLVED] Macro To Find Cell Color and Copy to Sheet 2
    By trevor2524 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-17-2013, 06:50 PM
  6. Find duplicates within sheet and color
    By StellaCell in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-11-2007, 12:23 PM
  7. Color Code Sheet Tabs In Workbook
    By travelersway in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-21-2005, 03:20 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