+ Reply to Thread
Results 1 to 2 of 2

Match Data in 2 columns, color line based on out come

  1. #1
    Registered User
    Join Date
    11-14-2014
    Location
    horley
    MS-Off Ver
    2007
    Posts
    4

    Match Data in 2 columns, color line based on out come

    Hi. I'm not sure if this is even possible, but I thought i would ask. I have no macro writing experience, but i seem to be able to figure out other peoples work. So my problem is this, I would like to write a macro to match data in column A to specific words in column H. If the words match, then i would like to highlight the entire row green. Is this possible. Could somebody help me, or suggest another thread which may hold the answer ? Thanks in advance.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Match Data in 2 columns, color line based on out come

    Hi Charmallan,

    Try this:

    Please Login or Register  to view this content.
    If you haven't used macros before you'll need to go to:
    File- options - trust center -trust center settings - macro settings ,
    the second option down (disable all macros with notification)

    Then - Copy the code to the clipboard

    Open your Workbook

    Press ALT + F11 to open the Visual Basic Editor.

    Select "Module" from the Insert menu

    Type "Option Explicit" then paste the code under it

    With the cursor between Sub and End Sub press F5 (F8 to Single Step)

    OR

    Press ALT + Q to close the code window.

    Press ALT + F8 then double click on the macro name
    *Be sure to save the book with the code as Macro-Enabled
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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. Line chart color based on value
    By randz77 in forum Excel General
    Replies: 1
    Last Post: 08-06-2015, 10:12 PM
  2. VBA to match highlighted columns and color based off value
    By cmccabe in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-12-2014, 08:10 PM
  3. [SOLVED] Categorizing data based on color, then split into columns?
    By heidilaw4 in forum Excel General
    Replies: 5
    Last Post: 05-15-2013, 10:52 PM
  4. Comparing two text columns and return data based on an exact match
    By AShah33 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-04-2013, 04:23 PM
  5. Replies: 6
    Last Post: 12-10-2012, 06:26 PM
  6. Finding duplicates between data ranges based on 2 columns match
    By alicia_ixchel in forum Excel General
    Replies: 0
    Last Post: 03-30-2011, 08:29 PM
  7. Graph line color based on value
    By FlyingDan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2008, 06:12 AM

Tags for this Thread

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