Closed Thread
Results 1 to 3 of 3

Simple Spreadsheet programming help

  1. #1
    Registered User
    Join Date
    08-12-2008
    Location
    Ohio
    Posts
    11

    Unhappy Simple Spreadsheet programming help

    Hello,
    I have a spreadsheet that I need a m acro for, that will look at cell U3, if it is a 0 (zero) then hightlight cell C3 yellow. And so on, if U4 is zero, highlight U4..
    Also look at the cells below,
    cell U4, if it is a 0 (zero) then hightlight cell D4 yellow. And so on...
    Can anyone help me with this?

    The macro will be behind a button on the spreadsheet. I dont know if that makes a difference or not.
    Thanks!!!

  2. #2
    Forum Contributor
    Join Date
    04-11-2005
    Location
    London
    Posts
    259
    You don't need to use a macro, use conditional formatting instead.

    1) Select Cell C3, and choose conditional formatting from the Format menu.

    2) Change Condition 1 to "Formula is".

    3) In the Formula box type
    Please Login or Register  to view this content.
    4) Change the required format to Yellow Cell Shading.

    5) Copy this formatting down the entire range you want to select.

    If you need to exclude null cells, use
    Please Login or Register  to view this content.
    as the suggested formula in point 2) interprets Nulls as Zeros.
    Martin Short

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Hi, as you haven't answered my last message about what the thread title should be, I am closing this thread.
    Please feel free to open an new one with a relevant title
    Cheers

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. spreadsheet for multiple users
    By evanzo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-29-2008, 11:04 PM
  2. Auto-retrieve and manage data from another spreadsheet
    By techissue2008 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-16-2008, 12:17 AM
  3. Updating distributed spreadsheet online
    By KnuxAran in forum Excel General
    Replies: 0
    Last Post: 04-28-2008, 10:30 PM
  4. Replies: 4
    Last Post: 08-29-2007, 03:57 PM
  5. Need help: Simple spreadsheet "broke"
    By iCamp in forum Excel General
    Replies: 4
    Last Post: 01-11-2007, 12:47 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