+ Reply to Thread
Results 1 to 2 of 2

Conditioning A Whole Row, Based On The Content Of A Single Cell.

  1. #1
    Registered User
    Join Date
    09-21-2008
    Location
    Alvechurch, Worcestershire, UK.
    Posts
    1

    Conditioning A Whole Row, Based On The Content Of A Single Cell.

    Hi All.

    Re: Conditioning A Whole Row, Based On The Content Of A Single Cell.


    I'm a little new to Excel, so apologies if this should be posted in a more Newbie orientated forum.

    I have a basic spreadsheet. 40 rows long and 8 columns wide. Column 8 (the last column) contains only a single word. Depending on what that word is, I want that entire row (columns 1 - 8) to turn into a grey colour. So far, I can only figure out how to get an invidual cell to change colour.

    Kind Regards
    Emmily

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Paste the following code into the appropriate sheet tab (probably Sheet1) in the VBA editor (hit Alt F11 to see this)

    Please Login or Register  to view this content.
    Change the list of trigger words in column 8 as you wish remembering to include the quotes as in the example.

+ 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. Show UserForm based on Cell Value?
    By Bafa in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 07-17-2008, 08:29 PM
  2. read cell content and use with Hyperlinks.Add Cell
    By apoc [t.i.m.] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-04-2007, 10:02 AM
  3. Replies: 1
    Last Post: 05-02-2007, 10:36 PM
  4. Cell content based on autofilter
    By Sp00k in forum Excel General
    Replies: 1
    Last Post: 01-10-2007, 02:59 PM
  5. changing cell colour using based on cell value
    By baggy098 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-30-2006, 08:07 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