Excel generated by POI can add sheets. How to disable this function
In addition, how to use POI to only allow users to modify the style of the table but not the content of the table
Do you want to prevent the cell value from being modified? You can set itCellStyle
CellStyle unlockedCellStyle = wb.createCellStyle();
unlockedCellStyle.setLocked(true);
cell.setCellStyle(unlockedCellStyle);