+ Reply to Thread
Results 1 to 1 of 1

Inserting New Row with VBA doesn't Update all Conditional Formatting

  1. #1
    Registered User
    Join Date
    03-15-2018
    Location
    Melbourne
    MS-Off Ver
    365
    Posts
    4

    Inserting New Row with VBA doesn't Update all Conditional Formatting

    Hello, I have been working on a task for a long time and I'm very close to a solution. I am populating a resourcing spreadsheet with the conditional format:

    Please Login or Register  to view this content.
    To give background on the project the format above performs the task that if it reads an X in the 'Holidays' sheet on a day for a resource then it will place an X in the cell. Otherwise it will sum the amount of hours of a range (one day) in the 'Projects' sheet for that specific resource in the 'People' sheet. The format then extends from the name of the resource ($B4) for multiple weeks depicting the amount of hours for each day.

    The next task required the ability to add and remove resources within a list of multiple resources while allowing the conditional formatting to remain modular.

    Please Login or Register  to view this content.
    The above code allows to copy in a resource and then change the name with the conditional formatting performing as required. However the range of 'Holiday' does not behave as hoped while the range of 'People' does. For Example: The following lines of formatting show the rows at 4 (same row where the conditional format above is found), 5, 6 and 7 when the VBA code above is ran with i = 4.

    Please Login or Register  to view this content.
    As you can see the range for People updates as I'd hope but it does not for Holiday.

    I have tried a number of different solutions but this one I have found to get me the closest to the finish but just short. If I cannot get this to work I will implement all the cells with just the SUMIF so the conditional format updates with the VBA code and use more VBA code to add in Holidays manually however this will be very inefficient. I am very open to any suggestions on how I may get this to work and thanks in advanced for any time considering this problem of mine! Happy to attach the workbook if anyone would like a closer look.
    Last edited by klenny; 03-15-2018 at 04:37 AM.

+ 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. Conditional Formatting: One formula works, the other doesn't
    By Hypnopoison in forum Excel General
    Replies: 7
    Last Post: 09-07-2014, 03:18 PM
  2. inserting new row doesn't update formulas
    By SathishKumar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-26-2013, 12:16 PM
  3. Conditional Formatting doesn't refresh after Macro
    By thommy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-02-2013, 09:59 AM
  4. Conditional formatting doesn't expand when table does.
    By jsimon1212 in forum Excel General
    Replies: 1
    Last Post: 05-16-2012, 12:28 PM
  5. Excel 2007 : AND doesn't work in Conditional Formatting
    By cellarir in forum Excel General
    Replies: 2
    Last Post: 03-21-2012, 06:10 PM
  6. Inserting a row with conditional formatting
    By thetrickster in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-29-2011, 07:55 PM
  7. Conditional Formatting when inserting a row
    By zahoulik in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-07-2006, 11:10 AM

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