+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting Shapes using VBA

  1. #1
    Registered User
    Join Date
    01-15-2010
    Location
    Scottsdale
    MS-Off Ver
    Excel 2010
    Posts
    72

    Conditional Formatting Shapes using VBA

    I am trying to write a macro that colors shapes based on the values of two cells. In the attached example I would like Circles in column D to be colored (REd/Yellow/Green) based on the value in column C's relation to value in cell C24.
    => C24 GREEN
    < but within 5% points of C24 YELLOW
    More that 5% less than C24 RED

    Thank you!

    VBA Example.xlsx

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Conditional Formatting Shapes using VBA

    Why not simply use the conditional format icons rather than shapes and vba?
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    01-15-2010
    Location
    Scottsdale
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: Conditional Formatting Shapes using VBA

    Short answer Andy, because they are not as Pretty

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Conditional Formatting Shapes using VBA

    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. Conditional Formatting For Text Inside Shapes
    By Louis.Shakespeare in forum Excel General
    Replies: 9
    Last Post: 09-29-2014, 07:46 AM
  2. conditional formatting shapes
    By carpetmanist in forum Excel General
    Replies: 0
    Last Post: 01-15-2014, 12:03 PM
  3. Conditional Formatting for shapes in Excel
    By carlobulalo in forum Excel General
    Replies: 1
    Last Post: 08-15-2013, 06:36 AM
  4. Replace conditional Formatting with Shapes
    By Rikuk in forum Excel General
    Replies: 2
    Last Post: 08-23-2005, 09:05 PM
  5. Replace conditional Formatting with Shapes
    By Rikuk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-23-2005, 09:05 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