Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
carl
 
Posts: n/a
Default Auto Change in Cell Color

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.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default Auto Change in Cell Color

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






"carl" wrote:

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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro To Change Cell Color (Continued) carl Excel Worksheet Functions 0 March 15th 06 03:10 PM
Macro To Change Cell Color When Value Changes carl Excel Worksheet Functions 4 March 14th 06 08:24 PM
How do I change cell color based upon data range within the cell? Chris Sanders Excel Worksheet Functions 1 March 6th 06 08:59 PM
How do I change the color of the indicator cell in row and column Jim the Estimator Excel Worksheet Functions 1 July 27th 05 12:31 PM
cell color change based on due date MINAL ZUNKE New Users to Excel 2 June 30th 05 09:24 PM


All times are GMT +1. The time now is 09:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"