+ Reply to Thread
Results 1 to 4 of 4

Highlight row where cell contains word

  1. #1
    Registered User
    Join Date
    09-17-2013
    Location
    Sacramento, Ca
    MS-Off Ver
    Excel
    Posts
    1

    Highlight row where cell contains word

    I need a Macros that changes rows A:P to a gray color, based on if the cell in Column B contains the word "total". The text in row B contains more that just the word "total", such as "smith, john Total". There are also other columns which contain the word 'total' so I need it to only look at column B, and for it to change the color of the entire row.
    I know I can accomplish this in conditional formatting, but I need a macros. Thanks!

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Highlight row where cell contains word

    Maybe this:

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Highlight row where cell contains word

    Try this:

    Please Login or Register  to view this content.

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Highlight row where cell contains word

    as an option
    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. Replies: 14
    Last Post: 10-11-2013, 12:09 AM
  2. Highlight Numbers in word from another Word List
    By vish2025 in forum Word Formatting & General
    Replies: 0
    Last Post: 03-09-2011, 02:36 AM
  3. Replies: 3
    Last Post: 05-23-2010, 12:49 PM
  4. Highlight entire row when word is in cell
    By ladydubs in forum Excel General
    Replies: 9
    Last Post: 05-12-2009, 04:09 PM
  5. find word and highlight
    By akhtar151 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-24-2008, 02:13 PM

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