178
Views
11
Comments
[Advanced Excel] Possible to support the XLSM file format?
Question
advanced-excel
Service icon
Forge asset by Carlos Freitas

I am trying to import XLSM format file and I receive this error. Possible to include it as one of the supported files for Advanced Excel?

Thank you.

-Edwin

2025-09-25 22-50-38
Hanno

Hi Edwin

I will investigate and get back to you soon.

Hanno

UserImage.jpg
Carmine Scala

Hi Hanno, news?


Regards

Carmine

UserImage.jpg
Federica Imbroglia

Hi,
i have the same problem.
I'm working in Advanced Excel with xlsm file and all work well, i can write cells without errors, but when i use Workbook_GetBinaryData and from the UI i download the file excel says that the format is not valid. If i rename the file in .xlsx excel open it with all the data inside

2022-06-17 09-22-26
Huarlem Lima

Hi, try use the Mime-Type "application/vnd.ms-excel.sheet.macroEnabled.12" for xlsm file types.

UserImage.jpg
Carmine Scala

Hi Huarlem, 

thanks for the reply.

 I am using Outsyatems 11 and the "Download" widget does not have the mime-type attribute. How can I do this in Outsysems 11?

Regards 

Carmine

2022-06-17 09-22-26
Huarlem Lima

Hi Carmine, which version of Service Studio are you using?

I'm using the Beta version and 11.14.16, try this one.

UserImage.jpg
Carmine Scala

Hi Huarlem,

are you using a traditional web application?  (Here i can enter the Mime-type).

I attach an example oml. Using Advance excel and I get the following error:

"The file cannot be opened because the format is not valid"



My Outsystems version is 11.53.3


Regards


Export.oml
2022-06-17 09-22-26
Huarlem Lima

Yes, I'm using the traditional web.

I looked at your oml but couldn't get a solution.

Are you trying to open the file in the same version of MSOffice it was created on?

I got it to work using an xlsm file created in my Excel and downloading it with the Mime-Type "application/vnd.ms-excel.sheet.macroEnabled.12", maybe it has something to do with the difference between MSOffice versions.

2022-09-29 10-53-19
José Campos

I'm getting the same problem. Has someone resolved this situation?


Thank you.

2023-03-30 10-13-40
Miguel Antunes

I might have a possible solution, need time to test it out, will share updates soon.

UserImage.jpg
Teodor Octavian Orian

I have the same problem, it won't work with the .xlsm files that contain macros, I do not think it is because of the download tool , I think the Advanced Excel dependencies do not handle the macros, I am new to this, did somebody find a solution? Thank you!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.