+ Reply to Thread
Results 1 to 3 of 3

link sheets showing exact colour of text and background

  1. #1
    Registered User
    Join Date
    09-23-2010
    Location
    oxfordshire
    MS-Off Ver
    Excel 2003
    Posts
    72

    link sheets showing exact colour of text and background

    Morning everyone

    I've linked two sheets capturing the information I'm wanting, but I also want the linked sheet to show the exact colour of the text and background colour of the cell. Is this possible?

    In sheet 1, I have the table with contents and have higlighted the cell background red, in B2, B4 and D3.

    On the linked sheet tab again with a table of contents, but I'm only capturing the dates from sheet 1.

    I would like the linked sheet to also show the red highlighted cells from sheet 1 as red higlighted cells in the linked cell, if the background or text colour has changed ( i've highlighted peach to show you what I mean )
    Attached Files Attached Files
    Last edited by summer2010; 12-15-2014 at 07:02 AM.

  2. #2
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: link sheets showing exact colour of text and background

    Hi - this should answer your question

    http://excel.tips.net/T002769_Automa...ormatting.html


    One of the foundational features of Excel is to allow one cell to be equal to another cell. For instance, you could use the most simple of formulas in a cell:
    =C7
    This copies the contents from cell C7 to the current cell, and updates whenever the contents of cell C7 change. What if you are not just interested in copying cell values, but also want to copy formatting from one cell to another?
    Unfortunately, there is no intrinsic way to do this in Excel. There are two workarounds you can try, however. First, you can create a macro that will find out whenever cell C7 changes, and if it does, the macro copies the contents of the cell (including formatting) to the target cell. For instance, the following macro will run every time there are changes in the worksheet. When the change is in cell C7, then the contents of C7 are copied to cell E3 on Sheet1.

    Please Login or Register  to view this content.
    There are some downsides to this approach. First, it can be slow, particularly if you have quite a few cells that you want to copy in this manner. In addition, the macro only runs if the contents of cell C7 are actually changed, not if the formatting alone of C7 is changed. (There is no way to trigger an automatic event whenever formatting is changed.)
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  3. #3
    Registered User
    Join Date
    09-23-2010
    Location
    oxfordshire
    MS-Off Ver
    Excel 2003
    Posts
    72

    Re: link sheets showing exact colour of text and background

    Thanks Blake 7

    I didn't think the formatting could be done when linking sheets, such a shame though. I'll have a play about with your macro to see if it can help. The information will only be entered once, then the formatting used once the event has happened.

+ 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. Formula to check colour of text or colour of background
    By Wonderful World in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-07-2014, 01:49 AM
  2. [SOLVED] I can use VBA to create a text box, how do I set the background colour?
    By irf90 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-30-2014, 10:42 AM
  3. [SOLVED] Change Row Background Colour When Text Is Entered Into A Cell
    By AlexRoberts in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-20-2010, 01:28 PM
  4. formating text and background colour
    By pitway in forum Excel General
    Replies: 1
    Last Post: 09-14-2006, 02:42 PM
  5. [SOLVED] In Excel, colour formatting (text and background) reverts to blk
    By malcolm in forum Excel General
    Replies: 1
    Last Post: 07-12-2006, 03:20 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