I am generating an XLSM workbook from ByteArrayInputStream and using com.aspose.cells.VbaModule to embedded a macro code in the workbook. Getting attached error while enable the content in the workbook downloaded from the server and macros are not working.
Capture.JPG (20.8 KB)
Workbook is working as expected when i download from tomcat server in developer machine.
Configurations of Server & developer machine is given below
File encoding is UTF-8
File encoding is Cp1252
In a glance i believe its an encoding issue.
Can i set encoding for a workbook while i create the work book? unfortunately i couldn’t find any methods or options which insist encoding for XLSM.
I am using Aspose aspose-cells.16.11.0.jar
Kindly let me know how it can be done.