Dim j As JavaObject = newWorkbook
j.runmethod("setColourRGB", Array(cellFormat.COLOR_GREY_25_PERCENT, 51, 51, 255))
cellFormat.BackgroundColor = cellFormat.COLOR_GREY_25_PERCENT
cell.InitializeText(1, RowCount, colorcode)
sheet1.AddCell(cell)
cell.SetCellFormat(rowsFormat)