LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
hgrove
 
Posts: n/a
Default Conditional Formatting


Where to begin?

It installs OK under XL97SR-2 under Windows NT4SP6.

I created the following conditional formats with cell A1 active.

=A1<0
background color pink (leftmost color in bottom row of square block of
colors in Patterns tab

=A1<1
background color orange (next color to the right of pink in Pattern
tab)

=A1<10
background color pale yellow (next color to the right of orange in
Pattern tab)

=A1<100
background color pale green (next color to the right of pale yellow in
Pattern tab)

=A1<1000
background color pale blue (next color to the right of pale green in
Pattern tab)

It works for static values in A1, but you know me, I like to torture
test. It gives sporadically random wrong results for the volatile
formula

=1/RAND()^2-5

You're using x.PasteSpecial Paste:=xlPasteFormats, so your code suffers
from what I consider a bug in Excel: pasting formats or comments into a
range triggers recalculation of that range. That should be intended
functionality when pasting formulas or values, but unhelpful when
pasting formats. FWLIW, 123 releases 5 and 97 and OOo Calc also share
this 'functionality'.

The problem is that this differs from Excel's built-in conditional
formatting functionality. Not good. Looks like you'll either need to
disclaim your add-in working with cells containing volatile functions,
or use the slow but sure way of setting conditional formats one at a
time rather than using copy & paste. This is at variance to some
private e-mail correspondence between Frank and me, but I wasn't aware
of this little headache until recently.


Next, either the copy or paste format function doesn't work. If I
select the A1 cell formatted as above, run the menu command

xld Tools CF Plus Special Functions Copy Format

select A2, run the menu command

xld Tools CF Plus Special Functions Paste Format

then run the menu command

xld Tools CF Plus Launch CF+

I see no conditions in the dialog for cell A2.


Next, and REALLY ANNOYING! I return to cell A1 and run the menu
command

xld Tools CF Plus Special Functions Highlight ranges

There's garbage now appearing as a drawn object in cell A1 obscuring
the contents of cell A1. This isn't the annoyance for me. If I click on
A1, I get a dialog showing its conditions. This also isn't the annoyance
for me (though why there are both OK and Cancel buttons in this dialog
is a mystery). No, what's annoying about this is that if I select some
other cell then click on A1, the dialog appears again, but after
dismissing the dialog the cell pointer is returned to it's starting
point rather than staying in cell A1. On the other hand, if I use
cursor keys to return the cell pointer to A1, I don't get the dialog
and I stay in cell A1. Maybe this is specific to XL97, but REALLY
ANNOYING that *clicking* on cell A1 won't leave the cell pointer at
A1.

Also, if you can display formatting in the preview box of the
Conditional Format Plus - Add dialog, you should display something
similar when range highlighting is enabled. The MsgBox dialog you're
currently showing isn't particularly informative.


--
hgrove
------------------------------------------------------------------------
hgrove's Profile: http://www.excelforum.com/member.php...o&userid=11432
View this thread: http://www.excelforum.com/showthread...hreadid=276025

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Dependant Conditional Formatting LDanix Excel Discussion (Misc queries) 1 January 13th 05 06:50 PM
Copy conditional formatting across multiple rows? Gil Excel Discussion (Misc queries) 1 January 11th 05 11:27 AM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM
How do I use conditional formatting for multiple rows? Jim Johnson Excel Worksheet Functions 1 October 30th 04 03:36 AM


All times are GMT +1. The time now is 01:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"