Results 1 to 3 of 3

Can I "protect" the "applies-to" field in cond. format rules?

Threaded View

  1. #1
    Registered User
    Join Date
    03-09-2010
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2007
    Posts
    2

    Red face Can I "protect" the "applies-to" field in cond. format rules?

    I have looked long and hard for an answer to this question, so I've finally gotten to the point of asking for help!

    Here's what I got:

    I have a spreadsheet (Excel 2007) that uses conditional formatting in many different ways, and one of them is to underline the rows between the point where the values in column 'A' changes (project name). This helps make a very large grid much easier to follow. It's a very simple formula
    =IF($A8=$A9,0,1)
    .

    I even have a macro now to take care of inserting the new rows and copying the formulas in the other parts of the spreadsheet, whenever dummies need to use it. However, each time a new row is inserted (either manually or with the macro), it splits the "applies to" field in the cond.format rule for the underlining. All of the other cond.format rules are not affected. I cannot figure out why.

    And here are my questions:
    • Can the "applies to" field in the cond.format rule be "protected" somehow, without actually protecting the sheet (which interferes with adding new rows correctly)?
    • Is there an expedient way to reset the "applies to" field back to what it was before the insert event?
    • If it makes sense to have the macro reset the "applies to" field (assuming this is possible), can anybody point me in the right direction (I'm handy with a macro, just haven't ever tried it with cond.formatting)?
    • Is there something I'm maybe doing wrong in this particular rule that is causing this (the other rules don't seem to be affected)?

    Thanks in advance for any good advice!

    Nate
    Last edited by grnflash; 03-09-2010 at 01:31 PM.

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