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

Free Support Forum - aspose.com

Cell Text Bold


I need to bold a part of Text of cell. Remaining Text will be in normal form just like the following Line.

To: Mr. X

Line must be in a cell. in the above line "To:" is bold and "Mr. X" is in normal from.

What shoul i do?



Hi Mamun,

See following codes:

excel.Worksheets[0].Cells["A1"].PutValue("To: Mr. X");
excel.Worksheets[0].Cells["A1"].Characters(0, 3).Font.IsBold = true;