Hi:
I have a spreadsheet that looks at live stock data. I have some conditional formatting that is very useful but it can slow down the sheet at volatile times. The question is - can VBA code be used instead of the conditional formatting to achieve better results? (using less cpu resources)
If so - can someone provide sample code that would update the "background fill" after each calculation of data comes in?
I would want to change the background fill in cells b5-b25 using the corresponding value in cells z5:z25. The value in z5 corresponds to the background in b5, z6 to b6 etc etc. There are three possible values in column Z (1,2,3). When 1 - background=white, when 2- background =grey when 3- background =red.
Can someone provide sample code for this so I can test it next week?
thanks
I have a spreadsheet that looks at live stock data. I have some conditional formatting that is very useful but it can slow down the sheet at volatile times. The question is - can VBA code be used instead of the conditional formatting to achieve better results? (using less cpu resources)
If so - can someone provide sample code that would update the "background fill" after each calculation of data comes in?
I would want to change the background fill in cells b5-b25 using the corresponding value in cells z5:z25. The value in z5 corresponds to the background in b5, z6 to b6 etc etc. There are three possible values in column Z (1,2,3). When 1 - background=white, when 2- background =grey when 3- background =red.
Can someone provide sample code for this so I can test it next week?
thanks