Learn how to enable and disable Excek compatibility checker in Java: https://blog.aspose.com/2021/11/08/disable-excel-compatibility-checker-in-java/
Last active
February 16, 2022 06:57
-
-
Save aspose-com-gists/94d43731515ef2098a378472f60777d9 to your computer and use it in GitHub Desktop.
Enable or Disable Excel Compatibility Checker in Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load Excel file | |
Workbook wb = new Workbook("workbook.xls"); | |
// Disable compatibility checker | |
wb.getSettings().setCheckCompatibility(false); | |
// Save file | |
wb.save("output.xls"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment