+ Reply to Thread
Results 1 to 2 of 2

How to copy a cell's color to other other cell?

  1. #1
    Registered User
    Join Date
    06-13-2008
    Posts
    11

    How to copy a cell's color to other other cell?

    I have a table with A or B then their cells were highlighted with red and blue color. so, the cell has text 'A' and red color; text 'B' and blue color.

    I used a for loop to loop text data from a column and then assign to a string array. However, the text data has background color which I need to get it too.

    Please Login or Register  to view this content.
    It was assigned before. e.g. 'A' with red color cell

    How can I loop through the cells and colorindex array applying the colorindex to each cell individually?

    The sheet1's column D and H have various color cells. How can I copy them to another sheet2's particular cell?

    I tried to use range, but it copied the colorindex numbers, but not show the color background of the cells.

    I posted it on http://www.mrexcel.com/forum/showthread.php?t=325689 yesterday but no reply.
    Last edited by VBA Noob; 06-20-2008 at 03:19 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You don't need code to do this, use Conditional Formatting

    http://www.excel-it.com/excel_condit...formatting.htm
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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