Skip to main content
Participating Frequently
Jan 29, 2013 9:10 PM UTC
Question

cfspreadsheet and xlsm

I want to use cfspreadsheet to update the data in an xlsm file.

From the docs, it seems that cfspreadsheet can handle the "updating"... does anyone know if it has a problem with xlsm files in excel?

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Participant
Jan 11, 2019 2:03 AM UTC

For anyone finding this now, the newer versions of Coldfusion can read and write .xlsm files and preserve the macros. I've tested it on ColdFusion 2016.

Translate
Inspiring
Jan 29, 2013 9:15 PM UTC

What happened when you simply tried it?

Translate
raybednar
Participant
Mar 20, 2015 6:43 PM UTC

I am also having problems using  coldfusion 10 cfspreadsheet with xlsm files.  xlsx work fine but xlsm are causing errors like

An error occurred while reading the Excel: org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException.       

I updated the poi jar files in the coldfusion lib folder to the latest versions and the problem still exists.   

Translate