Bug with conditional formatting when inserting/deleting rows

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
krilbe
Posts: 3
Joined: Wed Feb 20, 2008 4:41 pm
Location: Stockholm, Sweden

Bug with conditional formatting when inserting/deleting rows

Post by krilbe »

Hi,

Not thoroughly tested yet, but it seems that there's a problem when inserting/deleting a row above a row with conditional formatting or deleting a row that contains conditional formatting.

Version: 3.01.05.

Rough steps (untested):
1. Sheet with conditional formatting in one cell, formula based condition with a formula like "=isempty(C12)" where C12 is the cell itself.
2. Insert row before that formatted one.
3. The conditional formatting is lost.

At a later stage, such a row is deleted, and suddenly the conditional formatting seems to have been applied to the entire sheet.

Hopefully you can find the bug, if there is one, based on this. I'll post more details as soon as I can, hopefully with a tiny test project.

Kjell
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Post by larsa »

Hello

I will check this.


Lars Arvidsson
krilbe
Posts: 3
Joined: Wed Feb 20, 2008 4:41 pm
Location: Stockholm, Sweden

Post by krilbe »

As soon as I find time, I'll try to narrow it down to a simple test case. I've seen problems in various situations when inserting/deleting rows - that formatting is lost, moved or otherwise destroyed or mangled.

Maybe this part of XLSReadWriteII needs a major overhaul?

Kjell
Post Reply