Excel via COM - how to change color cell

Author: dammie@seznam.cz (dammie)


I use excel via COM

signatures were generated by:

/sti /mwr=com /pid Excel.Application:EXCEL_

I use this code to fill cell with text:

newinstance "EXCEL_APPLICATION", $lh_excel$




Question. How can I change color of this cell?


  1. Hi David

    Try this:






    I did'nt check it. But I should/could work


    Author: istiller (i2stiller@gmx.de)
  2. Many thanks...

    Excuse one more question...

    I am trying change font to bold via set_bold but it doesnt works



     it works if I use


     Whats problem?

    Author: dammie (dammie@seznam.cz)
  3. Hello

    check the signature possible the excel has transform the boolean to long...

    i use Bold.set literal name with one parameter IN:Boolean

    and it works fine




    Author: jtsagara (jtsagara@logisoft.gr)
  4. Thanks. Changed to boolean and it works...

    Author: dammie (dammie@seznam.cz)