My template is in .xlt format having macros. Using this I am creating/saving file with save() in xls format.
But if I am saving file format as xlsx with same template file then macros are not get copied to target file. Even though I changed the extension of template file with xltm, the same issue repeats.
Thank you for considering Aspose. We are looking in to this issue. Can you please forward us your sample application, the template file etc? This will help us finding the issue.
We do not support convert ActiveX object of xls file to Xlsm file now. We just support preserving them of xls file and saving to xls file, or preserving them of xlsm file and saving to xlsm file.
We do not support parse ActiveX object in loading file. We just keep them as a binary array. We just keep those record as they are in the file. They are different in xls and xlsx file. So, we do not convert those record from xls to xlsx file.