+ Reply to Thread
Results 1 to 1 of 1

Copy Conditional Formatting color from one sheet to another

  1. #1
    Registered User
    Join Date
    01-04-2013
    Location
    Blah
    MS-Off Ver
    Excel 2010
    Posts
    1

    Copy Conditional Formatting color from one sheet to another

    Hi,

    I found this rather neat calendar template online and my manager wants me to link the background colors of the month sheet tabs to the first main year sheet tab. If you look at the Sheet 1 the 3rd day is conditionally formatted to blue because it contains the value "B" which means that on sheet "Year" February 3rd should have a background color of blue also.

    However, when it reaches the following line, I receive a very generic 400 error. I am somewhat certain I have the other logic mostly worked out.

    Sheets("Year").Cells(tempRowNum, tempColNum).Interior.ColorIndex = Sheets(MonthSheet).Cells(MonthWeekRow, MonthWeekCol).Interior.ColorIndex

    Do I have the syntax wrong? I feel like I'm missing something very obvious.

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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