Easy way to set bold format

2 posts, 0 answers
  1. Geir
    Geir avatar
    4 posts
    Member since:
    Oct 2010

    Posted 24 Apr 2018 Link to this post



    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






  2. Tanya
    Tanya avatar
    807 posts

    Posted 26 Apr 2018 Link to this post

    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 and 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.

    Progress Telerik

Back to Top