+ Reply to Thread
Results 1 to 3 of 3

Update cell Values or Read Values in other sheet (change colour of autoshape with VBA code

  1. #1
    Registered User
    Join Date
    05-29-2012
    Location
    Lisbon, Portugal
    MS-Off Ver
    Excel 2007
    Posts
    4

    Update cell Values or Read Values in other sheet (change colour of autoshape with VBA code

    HI,

    I am new to Excel VBA programming and assigned to Excel VBA support project to work to increase the performance of excel with VBA programming.
    I want to make an Autoshape change colour with value in side.
    <80% Red
    >=80% to 100%< yellow
    >100% green
    And the code I'm using is
    Please Login or Register  to view this content.
    The code works but one has to click in the cell value and press enter for the colour to change, this happens because the value of cell A2 is =Home!A2.
    Can you help me to make the code work directly from Home!A2 or make this code work so that I don't have to click in the cell value and enter.

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Update cell Values or Read Values in other sheet (change colour of autoshape with VBA

    Hello rcasquinha,

    Why don't you use Conditional Formatting for this instead of VBA?

    If you can upload a small sample WorkBook with your lay-out, I could see how I can help!
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Registered User
    Join Date
    05-29-2012
    Location
    Lisbon, Portugal
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Update cell Values or Read Values in other sheet (change colour of autoshape with VBA

    Hello Winon,

    Sorry but I can't upload file, because it has confidential data .
    I had that idea but it was not accepted. They want to keep the autoshapes. (the WorkBook has more than 30 sheets and each one has the autoshapes).
    I really need to make this via VBA

    Thanks for your advice.

+ 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