+ Reply to Thread
Results 1 to 2 of 2

Holiday Calendar Problem

Hybrid View

  1. #1
    Registered User
    Join Date
    10-04-2005
    Posts
    28

    Holiday Calendar Problem

    I have devised a holiday calendar for employees (see attached). All works fine on the individual employee worksheets using the VB code to give each category a colour ie BH will turn out an orange colour.The problem occurs with the summary sheet.It takes the data from the employee worksheets and uses the same VB coding to change the categories to the appropriate colour.The data the summary receives is correct but the colours won't activate until I double click the cell.

    Is there something I'm missing?
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by paulwelburn
    I have devised a holiday calendar for employees (see attached). All works fine on the individual employee worksheets using the VB code to give each category a colour ie BH will turn out an orange colour.The problem occurs with the summary sheet.It takes the data from the employee worksheets and uses the same VB coding to change the categories to the appropriate colour.The data the summary receives is correct but the colours won't activate until I double click the cell.

    Is there something I'm missing?
    Hi,

    missing a couple of things.

    For the individual worksheets you are using Worksheet_Change to trigger the colour, if you use this in the summary you will also need to 'change' (ie Select and Enter) the cell.

    Perhaps the easy way is for the Worksheet to also colour the Summary.

    One point on your formula, If you set Summary A column with the names shown on the sheet then you could use a single formula for every row and column, instead of having to type and retype and retype the persons name.

    hth
    ---

    added

    for C4 try (with A4 set to the SheetName),

    =IF(INDIRECT("'"&$A4&"'!B4")="","",INDIRECT("'"&$A4&"'!B4"))

    and D4

    =IF(INDIRECT("'"&$A4&"'!C4")="","",INDIRECT("'"&$A4&"'!C4"))

    and formula fill these downwards etc

    Better would have been to align the columns, set and hide a column B on the individual's worksheets so that column C shows C results, etc.

    ---
    Last edited by Bryan Hessey; 08-03-2007 at 04:14 AM.
    Si fractum non sit, noli id reficere.

+ 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