+ Reply to Thread
Results 1 to 7 of 7

Completed Task Fill Collor

  1. #1
    Registered User
    Join Date
    04-24-2025
    Location
    Peru
    MS-Off Ver
    365
    Posts
    62

    Completed Task Fill Collor

    Hello,

    On the Planner sheet there are tasks that have fill colors for the duration of the task. When completed with the checkbox true can the entire task be filled with the format in cell D40 which I named "Completed_Task"?

    Since VBA does the fill color of the entire task based on the category can VBA be solution for the completed task fill instead of conditional formatting which only alters the first cell of the task?

    Thank you for your help

  2. #2
    Valued Forum Contributor
    Join Date
    09-18-2023
    Location
    Geogia, USA
    MS-Off Ver
    365
    Posts
    331

    Re: Completed Task Fill Collor

    You can copy the formatting of a cell/range to another cell/range using PasteSpecial like

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

  3. #3
    Registered User
    Join Date
    04-24-2025
    Location
    Peru
    MS-Off Ver
    365
    Posts
    62

    Re: Completed Task Fill Collor

    Thank you jdelano but this does not make any sense for the tasks in the days of the week area.

  4. #4
    Registered User
    Join Date
    04-24-2025
    Location
    Peru
    MS-Off Ver
    365
    Posts
    62

    Re: Completed Task Fill Collor

    Maybe it can't be done with VBA thanks anyway.

  5. #5
    Forum Contributor
    Join Date
    10-16-2023
    Location
    Poland
    MS-Off Ver
    Excel 2019 32bit WIN10
    Posts
    142

    Re: Completed Task Fill Collor

    Replace the procedure "Schedule_Refresh" with the following:
    Please Login or Register  to view this content.
    and add the following code:
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    04-24-2025
    Location
    Peru
    MS-Off Ver
    365
    Posts
    62

    Re: Completed Task Fill Collor

    Thank you Tajan for your help. Although the code works the speed of workbook is substantially slower now. Perhaps there is too much going on.

  7. #7
    Forum Contributor
    Join Date
    10-16-2023
    Location
    Poland
    MS-Off Ver
    Excel 2019 32bit WIN10
    Posts
    142

    Re: Completed Task Fill Collor

    At the beginning of the "Schedule_Refresh" procedure insert:
    Please Login or Register  to view this content.
    And at the end:
    Please Login or Register  to view this content.
    This should speed things up a bit. However, CF will always be faster than assigning a cell format.

+ 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. Transfer completed task to another sheet
    By drnote5238 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-22-2017, 09:27 AM
  2. transfer completed task to a different worksheet
    By drnote5238 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2017, 06:31 AM
  3. [SOLVED] Formula to add date when task is completed
    By rizmomin in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-26-2015, 02:17 PM
  4. Calculating TAT Received and Completed task
    By hecgroups in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-16-2015, 01:06 PM
  5. Replies: 3
    Last Post: 11-11-2011, 08:14 PM
  6. Completed task indicator in Gantt
    By excelhelp18 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-13-2009, 06:52 AM
  7. how do I change the fill collor os a cell using a function in VB
    By Jason R Morris in forum Excel General
    Replies: 3
    Last Post: 01-27-2006, 07:35 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