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

Free Support Forum - aspose.com

Making Font Bold

Hi !

I will appreciate if you give me the solution for the following. -

I want to make some text bold in cell not complete cell.

How can I make text bold?

Thank You

Parag Kale.


Thanks for considering Aspose.

May the following code help you for your requirement:

Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets[0];
Cells cells = worksheet.Cells;
cells[0,0].PutValue("This is a test");
cells[0,0].Characters(0,10).Font.IsItalic = true;
cells[0,0].Characters(10, 4).Font.IsBold = true;

Thank you.

It's working now.

Thank you so much.

One more issue:

After creating runtime Checkbox in excel sheet, I am not getting any reference in VB editor (Macro).

What I have to do to get reference in VB Editor.

Thank You.