Convertir la révision des XLSB en XLSM

Convertir la révision de XLSB en XLSM

La capture d’écran suivante montre les fichiers .bin à l’intérieur du chemin \xl\revisions du fichier XLSB.

todo:image_alt_text

La capture d’écran suivante montre comment les fichiers .bin ont été convertis en fichiers .xml lorsque le fichier XLSB est converti au format XLSM à l’aide d’Aspose.Cells.

todo:image_alt_text

Voici le code pour convertir le fichier XLSB au format XLSM à l’aide d’Aspose.Cells.

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java
// The path to the documents directory.
String dataDir = Utils.getDataDir(ConvertRevisionOfXLSBtoXLSM.class);
Workbook workbook = new Workbook(dataDir + "book1.xlsb");
workbook.save(dataDir + ".out.xlsm", SaveFormat.XLSM);