// Create a new workbook Workbook workbook = new Workbook(); IWorksheet worksheet = workbook.getWorksheets().get(0); ComboBoxCellType cellType = new ComboBoxCellType(); cellType.setEditorValueType(EditorValueType.Value); ComboBoxCellItem item = new ComboBoxCellItem(); item.setValue("US"); item.setText("United States"); cellType.getItems().add(item); item = new ComboBoxCellItem(); item.setValue("CN"); item.setText("China"); cellType.getItems().add(item); item = new ComboBoxCellItem(); item.setValue("JP"); item.setText("Japan"); cellType.getItems().add(item); worksheet.getRange("C5").setCellType(cellType); worksheet.getRange("C5").setValue("CN"); // Save to a pdf file workbook.save("AddComboBoxCellType.pdf");