This is odd. I'm creating an Excel 2003 spreadsheet from MS Access 2003 VBA, and the coding includes conditional formatting: if the cell value is greater than [a value] it's colored red if it's less than [a value], it's colored green.
Even though the CF formulas are created successfully when the spreadsheet is generated, all the colors are green, regardless of the value. If I manually type the original value into a cell, it will trigger then CF and it appears correctly, but otherwise it just sits there all the same (wrong) color.
I have tried to execute application.calculate
, CalculateFull
, CalculateFullRebuild
; but it does not help. I have tried worksheet.calculate
. Nope. I tried coping all the contents of the spreadsheet to a new spreadsheet. Nope. I have tried specifying number format for all the cells in the worksheet. Nope.
It seems as it if wants to recalculate, but I can't get that going.
I have googled this hard, but can't find anything like this, which makes me think I'm missing something elementary.