Easy way to set bold format

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

    Posted 24 Apr Link to this post

    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

     

     

  2. Tanya
    Admin
    Tanya avatar
    718 posts

    Posted 26 Apr 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.

    Regards,
    Tanya
    Progress Telerik

Back to Top