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.
Thanks,
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.