+ Reply to Thread
Results 1 to 5 of 5

Change Background Color based on Value?

  1. #1
    Registered User
    Join Date
    09-15-2014
    Location
    Austria
    MS-Off Ver
    2007
    Posts
    10

    Change Background Color based on Value?

    Hey Guys,

    I have a Sheet with a table and many Numbers, on some Cells there is a Number with a "B E" before and I want to change the Background Color of those Cells where a "B E" is standing before.
    How can I code that?

    Thanks Ahead

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,767

    Re: Change Background Color based on Value?

    No need to go for VBA, just a Conditional Formatting will do that for you


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    09-15-2014
    Location
    Austria
    MS-Off Ver
    2007
    Posts
    10

    Re: Change Background Color based on Value?

    yeah I know but to do it with VBA would be better because I did anything on it now and later someone just hast to run the macro and have the results,
    is it possible on macro?

    Please Login or Register  to view this content.
    If I do this nothing happens. Color remains the same
    Thats not the whole Code just the piece where I tried to change the color.
    Thanks :D
    Last edited by Jangorage; 09-22-2014 at 03:50 AM.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,767

    Re: Change Background Color based on Value?

    Try this...

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-15-2014
    Location
    Austria
    MS-Off Ver
    2007
    Posts
    10

    Re: Change Background Color based on Value?

    Awsome, it worked instantly, damn you guys are good, always the right answer, Thank you very much :D

+ 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. Change cell background color based on another cells background color
    By Queo in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 06-10-2014, 05:28 AM
  2. Change Background Color Based On Cell
    By radicalrom in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2013, 10:58 AM
  3. Change Background Color of Row Based on Cell Value
    By ashishashish8 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-21-2011, 02:51 PM
  4. Change cell background color based on data?
    By proepert in forum Excel General
    Replies: 2
    Last Post: 11-18-2009, 01:02 AM
  5. change text color based on background color
    By great.bean in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-05-2009, 07: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