+ Reply to Thread
Results 1 to 4 of 4

Code VBA for changing fill color of shape base on data of cells

  1. #1
    Registered User
    Join Date
    04-03-2015
    Location
    HaiPhong, Vietnam
    MS-Off Ver
    2010
    Posts
    2

    Code VBA for changing fill color of shape base on data of cells

    Dear experts,
    Firstly I'm sorry cauze my English is not very good so may be my description is difficult to understand.
    I'm a beginner in VBA. I have to make a progress report in excel. I want to auto update fill color of shape in Sheet 1 base on data in Sheet 2. Could you make a VBA code for this. I uploaded a file, please find the attachment to get information.
    Thank you so much.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Code VBA for changing fill color of shape base on data of cells

    i changed the layout of sheet 2 slightly to make the coding much easier
    Attached Files Attached Files
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    04-03-2015
    Location
    HaiPhong, Vietnam
    MS-Off Ver
    2010
    Posts
    2

    Re: Code VBA for changing fill color of shape base on data of cells

    Thank humdingaling very much for your help. I will use this code and modify it a little bit for my report.

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Code VBA for changing fill color of shape base on data of cells

    sure not a problem

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] Change Shape Fill Color Based on Cell Value
    By Justair07 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-28-2013, 09:35 AM
  2. Change Color of text on a shape to No Fill
    By gkumthekar in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-28-2013, 04:38 PM
  3. lloop to fill different cells regarding an Data base
    By nec11 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-28-2013, 10:23 AM
  4. Replies: 6
    Last Post: 02-16-2013, 05:12 AM
  5. Fill Cell with Color from Shape's color code
    By excelnewbie80 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-02-2012, 05:34 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