S
Shatin
I have a worksheet which retrieves data from the web. The data in the sheet
is updated regularly every few minutes. Sometimes I'd also update the data
manually. What I want to do is to highlight changes in the value of a cell,
say A1. For example, the value of A1 before update is 3%, after update 5%.
The change is 2%. I want to highlight A1, say by changing the font to green,
to signify a change of 2% or more. I know I need to put some code in the
worksheet_change module but I don't how to write the code to capture the
change in the same cell.
A related question. After an update, the color of the font in A1 has been
changed to green. Now there's another update. This time the change in A1 is
less than 2%. I need to change the font back to black (or automatic rather),
because if A1 stays green, there might be misunderstanding that A1 has
undergone another change which is greater than 2%. How can I do it?
is updated regularly every few minutes. Sometimes I'd also update the data
manually. What I want to do is to highlight changes in the value of a cell,
say A1. For example, the value of A1 before update is 3%, after update 5%.
The change is 2%. I want to highlight A1, say by changing the font to green,
to signify a change of 2% or more. I know I need to put some code in the
worksheet_change module but I don't how to write the code to capture the
change in the same cell.
A related question. After an update, the color of the font in A1 has been
changed to green. Now there's another update. This time the change in A1 is
less than 2%. I need to change the font back to black (or automatic rather),
because if A1 stays green, there might be misunderstanding that A1 has
undergone another change which is greater than 2%. How can I do it?