Hi Matthew. Thank you very much!
I will study how your code works. However, come to think, my code does not work correctly. May be I will do it in the different way,
What I was thinking is that, in the next working program, I would want each loop to accept a 1D array of values and a 2D array of min and max values, then do comparisions.
Then a 1D array of evaluated values are produced with colours for each value and first row in the table is filled with evaluated values and colored cells. In the next loop, it performs the same thing, except, add a new row for second loop, pushing the first row of values and colored cells downward for second row to be inserted. Therefore the first row's data with colour is retained. Is it possibe?
We can do that with values, but not coloured cells. I will study your code then come up with the plan.
Anyway thanks.
Clement