This is a migrated thread and some comments may be shown as answers.

Easy way to set bold format

1 Answer 579 Views
SpreadProcessing
This is a migrated thread and some comments may be shown as answers.
Geir
Top achievements
Rank 1
Geir asked on 24 Apr 2018, 11:49 AM

Hi,

 

Is there an easy way to set the format of a cell to bold, without going to the procedure with styles?

 

Something like selection.Bold()

In Vba we have:

Range("A1").Characters(8, 5).Font.Bold = True

 

Cheers

Geir

 

 

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 26 Apr 2018, 04:48 PM
Hi Geir,

You can directly apply bold formatting to a CellSelection using the SetIsBold() method. For more information on how to achieve that, please check the Get, Set Clear Cell Properties topic. Example 2 in this topic demonstrates the approach for setting and clearing the bold formatting of a cell.

Hope this is helpful.

Regards,
Tanya
Progress Telerik

Tags
SpreadProcessing
Asked by
Geir
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or