+ Reply to Thread
Results 1 to 7 of 7

Macro to change colors of sheets data both sheet1 and sheet2 data same

  1. #1
    Registered User
    Join Date
    03-09-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    85

    Macro to change colors of sheets data both sheet1 and sheet2 data same

    Hi All,

    I have one macro that will check the sheets in excel if there is any differences then it will highlight the data in different colors.If both the sheets having same data for those records it will not highlighting in any color code.But i need to display those matching records in both the sheets should be in yellow color.any one can help me.Attached the sheet for reference.I found this script in this forum and it is meeting my requirements.
    Attached Files Attached Files
    Last edited by toravietl; 03-08-2017 at 03:09 AM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: macro parameterization help

    title updated.....
    Last edited by protonLeah; 03-09-2017 at 08:54 PM.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    03-09-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Macro to change colors of sheets data both sheet1 and sheet2 data same

    Title modified as per guidelines

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Macro to change colors of sheets data both sheet1 and sheet2 data same

    Does this help?

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-09-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Macro to change colors of sheets data both sheet1 and sheet2 data same

    Hi John,
    Thx for your script.I ran your script but it is not showing any differences.Please check once.

  6. #6
    Registered User
    Join Date
    03-09-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Macro to change colors of sheets data both sheet1 and sheet2 data same

    Any One can help me on this issue.

  7. #7
    Registered User
    Join Date
    03-09-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Macro to change colors of sheets data both sheet1 and sheet2 data same

    Quote Originally Posted by JOHN H. DAVIS View Post
    Does this help?

    Please Login or Register  to view this content.
    Hi John,

    The above script working only when the data is in sorted order in both the sheets and not working for unsorted data

+ 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] Define variable in macro than calling that macro inside another macro
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2015, 10:58 AM
  2. Parameterization is possible for this code
    By toravietl in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-29-2014, 06:35 AM
  3. Using a macro on workbook1 to create a button in wb2 and assigning macro "wb2!macro"
    By penfold1992 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2014, 11:39 AM
  4. [SOLVED] Macro to show Which macro didnt work in a nested macro
    By akhileshgs in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-10-2013, 03:21 AM
  5. Perform macro "on open" specific file- store macro in Personal Macro Workbook?
    By thompssc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-17-2012, 12:38 PM
  6. lookup macro, solver macro, realtime macro
    By xelhelp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-02-2011, 06:14 PM
  7. Cannot find macro error when running a macro from a macro in a diffrent workbook.
    By Acrobatic82 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2010, 09:22 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