+ Reply to Thread
Results 1 to 7 of 7

Autofill a Cell on Sheet 2 with a Value from a Colored Cell on Sheet 1- Is this Possible?

Hybrid View

  1. #1
    Registered User
    Join Date
    10-31-2013
    Location
    California
    MS-Off Ver
    Excel 2011
    Posts
    14

    Lightbulb Autofill a Cell on Sheet 2 with a Value from a Colored Cell on Sheet 1- Is this Possible?

    I want to auto populate a call with the value of a different cell that has been colored on a different page.

    Example:

    1.) On Sheet 1, Cells range A1-A10 have values to choose from
    2.) I choose A7 and change the cell color to gray
    3.) It auto populates Cell B1 on Sheet 2 with the value of the gray colored cell I selected on Sheet 1

    Is this possible?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Autofill a Cell on Sheet 2 with a Value from a Colored Cell on Sheet 1- Is this Possib

    Changing the formatting of a cell does not trigger an event that would allow that to happen automatically. Color is not data to Excel.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-31-2013
    Location
    California
    MS-Off Ver
    Excel 2011
    Posts
    14

    Re: Autofill a Cell on Sheet 2 with a Value from a Colored Cell on Sheet 1- Is this Possib

    I saw a forum before where a guy figured it out but can't find it again.

  4. #4
    Registered User
    Join Date
    10-31-2013
    Location
    California
    MS-Off Ver
    Excel 2011
    Posts
    14

    Re: Autofill a Cell on Sheet 2 with a Value from a Colored Cell on Sheet 1- Is this Possib

    Just brain storming...

    is there a away to search for a colored cell in a cell range and auto populate another cell with the value of the found colored cell?

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Autofill a Cell on Sheet 2 with a Value from a Colored Cell on Sheet 1- Is this Possib

    Yes, but you'd need to trigger the macro manually, or invoke it in the Calculate event, or the Change event, or the Sheet2 activate event (which would have some warts).

  6. #6
    Registered User
    Join Date
    10-31-2013
    Location
    California
    MS-Off Ver
    Excel 2011
    Posts
    14

    Re: Autofill a Cell on Sheet 2 with a Value from a Colored Cell on Sheet 1- Is this Possib

    If you can do conditional formatting to change the color of a cell based on the value, why can't you auto populate a cell value based on the color of another cell?

    What are warts?

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Autofill a Cell on Sheet 2 with a Value from a Colored Cell on Sheet 1- Is this Possib

    Changing the contents of a cell triggers an event. Formatting a cell does not.

    If you had a single window open, colored a cell, and then switched to sheet2, the sheet2 activate event could do (something) to find the colored cell on sheet1, ..., which would make it appear it had happened automatically.

    If you had two windows open, then formatting a cell on sheet1 would cause no change of sheet2 until you activated the other window.

    Cell content is data to Excel; cell formatting is aesthetics.
    Last edited by shg; 11-01-2013 at 04:56 PM.

+ 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. Replies: 3
    Last Post: 11-01-2013, 04:51 PM
  2. [SOLVED] Autofill a Cell on Sheet 2 with a Value from a Colored Cell on Sheet 1- Is this Possible?
    By beachbum07 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-01-2013, 01:48 PM
  3. Replies: 3
    Last Post: 10-16-2013, 03:56 AM
  4. AutoFill Cell w/ data from different sheet after action
    By ngay528 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-23-2009, 10:58 AM
  5. How do I formulate colored cell from master sheet?
    By Excel Question in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-21-2005, 05:05 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