+ Reply to Thread
Results 1 to 5 of 5

format shapes depending on linked cells.

  1. #1
    Registered User
    Join Date
    03-02-2011
    Location
    India
    MS-Off Ver
    Excel 2003/2010
    Posts
    38

    format shapes depending on linked cells.

    Hi,


    I have 2 worksheets. In the Sheet 1, I have a data range A1:A100 with serial numbers in one of the column and on another Sheet 2, I have 100 shapes with their names from 1 to 100. I need to color individual shapes if the relevant cell is filled with a value on Sheet 1 . The purpose is to reflect the occupancy in sheet 2 through colored shapes (Visualisation).

    Can someone help me a macro for it please?

    Thanks in advance.

    Aleena

  2. #2
    Registered User
    Join Date
    10-15-2013
    Location
    Hawaii
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: format shapes depending on linked cells.

    Assuming you have Oval shapes (if not just modify the name preceding the number in the code), this event trap would be in the sheet 1 module:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-02-2011
    Location
    India
    MS-Off Ver
    Excel 2003/2010
    Posts
    38

    Re: format shapes depending on linked cells.

    Thanks for your reply.

    I have tried it but it is not working. I have attached the workbook. Can you please check it and let me know what am I missing please?
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: format shapes depending on linked cells.

    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,850

    Re: format shapes depending on linked cells.

    Aleenkhan - please read the forum rules regarding cross-posting and abide by them in future.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Linked cells depending on condition
    By Mechainical in forum Excel General
    Replies: 10
    Last Post: 08-27-2014, 01:32 PM
  2. trying to link cells that imitate the format of the cells linked to it.
    By yurikoma in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-18-2013, 07:36 PM
  3. Replies: 0
    Last Post: 03-10-2013, 09:03 PM
  4. Replies: 1
    Last Post: 02-09-2012, 09:03 PM
  5. Check Boxes with linked cells via format control
    By DataQueen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-22-2011, 05:58 PM
  6. linked cells won't format correctly
    By dtbarton in forum Excel General
    Replies: 2
    Last Post: 06-16-2009, 10:47 AM
  7. Format of linked cells
    By notgotaclue in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-14-2008, 06:54 AM

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