We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Setting font color and size property for the selected text in a given cell

Dear Support member,


Is there a way to set the part of the cell text with different font color using Aspose.cells library in Java?
Attached file contains sample cell content which I am trying to insert.

Thanks,
Cpunji

Hi,


Could you create a sample Excel file manually in MS Excel and apply your desired formatting to the cell contents/ selected text, save the file and post it here, we will check and let you know how to do it via Aspose.Cells APIs.

Thank you.

Attached file contains sample excel file as requested.

Hi,


Thanks for providing us template file.

Please see the document on how to specify formatting to selected characters in the cell for your reference:
http://www.aspose.com/docs/display/cellsjava/Formatting+Selected+Characters+in+a+Cell

Thank you.

Awesome thanks for the quick reply. This is what I was looking for.


Thanks,
Cpunji

Hi Cpunji,

Thanks for your feedback and using Aspose.Cells.

It is good to know that given article was helpful for you. Let us know if you encounter any other issue, we will be glad to look into it and help you further.