+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting between sheets

  1. #1
    Registered User
    Join Date
    08-06-2008
    Location
    Xenia,OH
    Posts
    3

    Conditional formatting between sheets

    I need to change font color to red in sheet1 and sheet2 when corresponding cells are not equal in range. Also need sheet3 to show differences and sheet4 to show averages between sheet1 and sheet2. I've had not problems with formulas for sheet3 and sheet4, but would like to be able to do it in vba. Changing the font colors has been giving me fits.
    Thanks
    Scott
    Attached Files Attached Files

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

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    08-06-2008
    Location
    Xenia,OH
    Posts
    3
    Thanks for your reply Ben. When I run this sub I get a runtime error 9. Subscript out of range. This is the same error I have been getting trying this on my own. What am I doing wrong or missing? It hangs here> Set Data1 = Sheets("Data1").Range("A2:I46"). Also, using excel 2002.

    Thanks,
    Scott
    Last edited by scottrobby; 08-07-2008 at 07:16 PM.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612
    I'm sorry, that was my fault. I changed the names of the worksheets.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-06-2008
    Location
    Xenia,OH
    Posts
    3
    I just noticed what had happened. Thank you very much for your help. It works great!
    Scott

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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