Painting Cells | Excel Import to DGV
I've been trying for the past hours making this work but im confused or the code is confusing itself, so i have some excels that i want to import and to verify them i have some rules like :
All and only the NORMs in column 2 that have the TxtObra number in column 0 are all red except for those containing "MNO", "EXT", "PNO", "ELE", "EPA", "PIL" which are white. Now, without counting the NORMs in column 2, color all those that do not contain the TxtObra in column 0 in orange, otherwise color in green.this is the code, am i blind i'm tired i don't think i can figure this out in the moment , maybe tomorrow i can look better at this but either way i would like to make this today :/ Also i left a screenshot here for a better visual in what's going on , ping me if need me i will be online for more half an hour
1 Reply
im so tired i placed this post in the #code-review by mistake...