+ Reply to Thread
Results 1 to 3 of 3

Cell background color update

  1. #1
    SalamElias
    Guest

    Cell background color update

    Hi, I havnt done Excel programming since Excel 5. Is it possible (using
    functions) to auto change the background color of a cell according to a value
    in another cell. Lets say if C4 cell = 1, then cell D4 is red, otherwise blue
    using an if as follows "IF(C4=1, Red, Blue)
    I don't want to use macros. If I should use a Macro, how I can update
    automatically without the need to a buton click.
    Thanks

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Conditional formatting can handle 3 conditions.

    Just go to Format > Conditional formatting

    Otherwise it's VBA code

    See attached for more info

    http://www.ozgrid.com/VBA/excel-cond...ting-limit.htm

    VBA Noob

  3. #3
    SalamElias
    Guest

    Re: Cell background color update

    wonderfull, so many thanks

    "VBA Noob" wrote:

    >
    > Conditional formatting can handle 3 conditions.
    >
    > Just go to Format > Conditional formatting
    >
    > Otherwise it's VBA code
    >
    > See attached for more info
    >
    > http://www.ozgrid.com/VBA/excel-cond...ting-limit.htm
    >
    > VBA Noob
    >
    >
    > --
    > VBA Noob
    > ------------------------------------------------------------------------
    > VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
    > View this thread: http://www.excelforum.com/showthread...hreadid=566383
    >
    >


+ 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