+ Reply to Thread
Results 1 to 2 of 2

Object color based on cell color

  1. #1
    Registered User
    Join Date
    08-31-2011
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2003
    Posts
    14

    Object color based on cell color

    I am trying to find a method that will allow an object color to be directly associated with the fill color used in a cell. For example I would like object FHCSCali to equal the fill color dynamically for cell I32. Any help is appriciatedScreenHunter_01 Feb. 13 08.37.jpg

    -Wagz

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161

    Re: Object color based on cell color

    You would need to convert the colorindex of the cell to rgb and then something on the lines of Me.Shapes("MyShape").ShapeRange.Line.BackColor = xxx check out Chips site for the code to convert colours
    http://www.cpearson.com/excel/colors.aspx


    Google Me
    Find me located here Simon Lloyd
    and what i'm about Here
    The above is NOT a link to a forum so is NOT against Rule 13

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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