CellStyle style = hssfworkbook.CreateCellStyle(); Font f = hssfworkbook.CreateFont(); f.Boldweight = (short)FontBoldWeight.BOLD; style.SetFont(f); sheet1.GetRow(rowIdx).GetCell(colIdx).CellStyle = style;