var cellType = new CustomCellType();
var spread = this.designer.getWorkbook();
var sheet = spread.getActiveSheet();
var row = sheet.getActiveRowIndex();
var col = sheet.getActiveColumnIndex();
sheet.suspendPaint();
sheet.getCell(row, col).cellType(cellType)
sheet.resumePaint();