How to fill color any cell in excel
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Manh Cuong Bui
am 16 Dez. 2017
Kommentiert: Manh Cuong Bui
am 18 Dez. 2017

Hi I got a trouble. I have an excel table that contains even and odd values I want to find odd values and fill color it like the picture.
Thank you very much!
1 Kommentar
Akzeptierte Antwort
Image Analyst
am 16 Dez. 2017
Use ActiveX, like in the attached demo.
The line you want to have is:
Excel.Worksheets.Item(1).Range(cellReference).Interior.ColorIndex = cellFillColorIndex;
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu ActiveX finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!