How to fill color any cell in excel
7 ビュー (過去 30 日間)
古いコメントを表示

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!
採用された回答
Image Analyst
2017 年 12 月 16 日
Use ActiveX, like in the attached demo.
The line you want to have is:
Excel.Worksheets.Item(1).Range(cellReference).Interior.ColorIndex = cellFillColorIndex;
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で ActiveX についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!