is there a way to refresh a cells conditional formatting using VBA?
Issue:
I am in a situation where I have a cell (A1) referencing another cell (B1), which contains a =SUM() number value with the format of “number, 2 decimal places”, but cell (A1) has a conditional formatting on it of “Cell Value >= 1000” and with that I am applying a custom format, otherwise it uses a Currency format for euros.
I update the values using VBA and then do
Application.CalculateFull
which updates my formulae but this conditional format is only getting applied the first time the value goes over 1000… if it is less than 1000 it does not go back to its original format.
Any one had this problem before and knows how to update the conditional formatting? short of using VBA to select the cell and refresh it some how?
I have decided to select the cell , reapply the formula and then activate it each time the VBA has finished running, the below fixes my problem for now.. its just a shame its so manual.