// Create a new workbook Workbook workbook = new Workbook(); //Use XlsxOpenOptions.ImportFlags to control what you want to import from excel, ImportFlags.Data means only the data will be imported //Change the path to the real file path when open. XlsxOpenOptions options = new XlsxOpenOptions(); options.setImportFlags(EnumSet.of(ImportFlags.Data)); workbook.open("source.xlsx", options);