Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]() 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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula Dependant Conditional Formatting | Excel Discussion (Misc queries) | |||
Copy conditional formatting across multiple rows? | Excel Discussion (Misc queries) | |||
Determine cells that drive conditional formatting? | Excel Discussion (Misc queries) | |||
Conditional formatting not available in Excel | Excel Discussion (Misc queries) | |||
How do I use conditional formatting for multiple rows? | Excel Worksheet Functions |