+ Reply to Thread
Results 1 to 2 of 2

VBA Help with colour change based on numerical value of cell

  1. #1
    Registered User
    Join Date
    10-06-2011
    Location
    Cornwall, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    VBA Help with colour change based on numerical value of cell

    Hi,

    I would be really grateful if someone were able to help me on a problem I have. This is that I would like to change the cell background depending on the numerical value of a cell within the range of cells from G04:G208. I would like to meet the following conditions:

    If cell value is "<15" colour cell orange
    If cell value "15-75" colour cell green
    If cell value ">75" colour cell red
    and If cell value contains text "-" colour cell blue.

    I can't use conditional formating as I have more than 3 conditions and think I need to use VBA to achieve what I want to do but have never used this before and so would really appreciate any help which can be given.

    Many thanks in advance,

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: VBA Help with colour change based on numerical value of cell

    Welcome to the forum!

    Right click the sheet's tab and paste:
    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)

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