MATLAB: Changing excel’s cells properties from Matlab

activexcellsexcelprogrammingproperties

Hi, is it possible to change a cell property? for example, I want to write some data from matlab to excel, can I change the format of how it is written? as cell's color, type of letter, style, alignment, etc

Best Answer

Sure, just use ActiveX and you can do whatever you want. I've used it to put borders on cells, add comments to cells, auto-size columns, transfer worksheets to another workbook, etc. Look up ActiveX on the Mathworks site or the Answers forum. Lots of examples are online, plus the Microsoft site has an Office developers center where you can learn more.