Excel Conditional formatting for String
14 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I am trying to set excel conditional formatting cell fill, based on cell value which is a string. Can someone help me with the right code?
xlCellValue = 1;
xlEqual = 3;
Excel.Range(['G2:G' num2str(lastrow)]).Select;
Excel.Selection.FormatConditions.Add(xlCellValue, xlEqual, '=ABC');
Excel.Selection.FormatConditions.Item(3).Interior.ColorIndex = 46;
Thanks
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Data Import from MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!