Hi guys, I'm developing an excel spreadsheet and I would like to add some conditional formatting to the cell text color. I would like to change the text color from range("n8:n219") and range("p8:p219") based on range("r8:r219") value. for each cell in range("r8:r219") if the value =0, the text color of range("n8:n219") and range("p8:p219") would be cell.font.colorindex=2, else the text color would be cell.font.colorindex=1. I wrote a draft but it cant seems to work can anyone help on this?
Thanks and Regards,Please Login or Register to view this content.
KB
Bookmarks