+ Reply to Thread
Results 1 to 2 of 2

Change color of shape with vba

  1. #1
    Registered User
    Join Date
    11-10-2014
    Location
    teh
    MS-Off Ver
    2013
    Posts
    3

    Change color of shape with vba

    hi all,
    I have several shapes in a sheet1 and now for each shape i have defined a userform which put some values in sheet2 now i want to change the color of each shape when the specified cells in sheet2 get value. how can i use vba to do this
    thanks

  2. #2
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Change color of shape with vba

    Here's how to change the color of "Oval 1" on sheet one by inputting a RGB integer (e.g. 65142) into cell A1 on Sheet 2. Not sure if it's the best way, as I rarely deal with shapes, but it's tested as working.


    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. Change color of shape depending on value
    By bongielondy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-27-2014, 07:03 AM
  2. Add command button to shape and change shape color on mouseover
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-26-2012, 05:12 PM
  3. Change Color of a Shape With Click
    By Quamdar in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-21-2011, 02:32 PM
  4. Can a macro change the color of a shape?
    By ditisFloris in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-19-2010, 08:21 AM
  5. Change shape color on mouseover
    By grime in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2007, 02:57 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