+ Reply to Thread
Results 1 to 7 of 7

How to bring back Cellcolour in to another cell

  1. #1
    Registered User
    Join Date
    10-12-2013
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    4

    How to bring back Cellcolour in to another cell

    Hi
    I have used hlookup,index and match formula to bring back data which is close to "todays date" but i how do i bring back the cell colour as well? please see attachment?
    Attached Files Attached Files
    Last edited by fezn; 10-13-2013 at 04:55 PM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Cellcolour

    Please Login or Register  to view this content.

    Open up the VBA editor by hitting ALT F11


    Paste the macro into the Sheet1

    Hit ALT F11 to get back to the worksheet.
    Martin

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Cellcolour

    Hi and welcome to the forum

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the adress bar)

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    10-12-2013
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Cellcolour

    Hi.

    Thanks for that, I have changed the post title now.

  5. #5
    Registered User
    Join Date
    10-12-2013
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Cellcolour

    Hi Martin

    Thanks for that, it worked!

  6. #6
    Registered User
    Join Date
    10-12-2013
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Cellcolour

    Hi Martin

    If i move the data on to row 5, the macro doesnt work, what do I need to change in the macro so that it works in different cells?

    Thanks

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: How to bring back Cellcolour in to another cell

    Thanks for the title change, and seeing as you still have a question on this, I will mark the thread UNSOLVED for you

+ 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