Forms and Macros
GemBox.Spreadsheet for Java has been retired
GemBox.Spreadsheet for Java preserves Form Controls and Macros when reading XLSX file format.

import com.gembox.spreadsheet.*;
class Program {
public static void main(String[] args) throws java.io.IOException {
// If using the Professional version, put your serial key below.
SpreadsheetInfo.setLicense("FREE-LIMITED-KEY");
ExcelFile workbook = ExcelFile.load("%InputFileName%");
workbook.save("Forms and Macros.xlsm");
}
}
See also
Next steps
Published: February 28, 2020 | Modified: December 19, 2022 | Author: Marek Turis