ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how do i write a macro to change font color with live data? (https://www.excelbanter.com/excel-programming/362537-how-do-i-write-macro-change-font-color-live-data.html)

CJS

how do i write a macro to change font color with live data?
 
I have a live data feed into an excel spread sheet and want to be able to
change the color of the font when value of cells change either positive or
negative. E.x., red when it goes down and is negative and green when value
goes up? And suggestions would help greatly

Tom Ogilvy

how do i write a macro to change font color with live data?
 
Does the live data feed trigger the Change event. Then I would use that to
store the old value of the cell in a static variable and color the cell
appropriately.

--
Regards,
Tom Ogilvy


"CJS" wrote:

I have a live data feed into an excel spread sheet and want to be able to
change the color of the font when value of cells change either positive or
negative. E.x., red when it goes down and is negative and green when value
goes up? And suggestions would help greatly



All times are GMT +1. The time now is 02:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com