TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

Make cell font bold

Description

Sets the font of the cell A2 to bold.

(function()
{
    Api.GetActiveSheet().GetRange("A2").SetBold(true);
})();

Methods used: GetActiveSheet, GetRange, SetBold

Reference Microsoft VBA macro code
Sub example()
    Range("A2").Font.Bold = True
End Sub
Result

Font bold