Auto Change in Cell Color

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a list of stocks like this:

Stock Price
ABC 0.35
DEF 0.35

The price updates with a DDE Link (Dynamic Data Exchange) - basically a
formula.

Is it possible to have the cell turn green if the new price is greater than
the last price and red if the new price is less than or equal to the last
price ?

Thank you in advance.
 
If you import your new prices in the next column to the right, you could
easily employ Conditional Formatting to compare it to the previous price and
set the background color accordingly.....in addition, you would have data for
a Chart, if desired.

If your new data overwrites the old data, it's much harder. Perhaps a
superprogrammer could do it in VBA by copying the old data to a helper range
doing the import, doing the comparison, coloring the cells, and then
deleting the helper range.....but it's beyond my level of expertize. If you
don't get a better answer here, you might try re-posting in the Programming
Newsgroup.

hth
Vaya con Dios,
Chuck, CABGx3
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top