Macro Support?

Topics: Developer Forum
Apr 8, 2009 at 7:18 PM
Does PHPExcel support macros? I'm planning to generate some Excel sheets with PHPexcel with data from a database. In some cases I would like to be able to embed macros in the generated spreadsheet. I've been reading the documentation but I can't find anything about macros. Is it possibe to do?
Apr 9, 2009 at 4:03 PM
I don't see macro support coming in any near future. As far as I know this part of the file format is not available to the public. Maarten may correct me here. Perhaps it would be possible to support macros in the form of static binary contents so one could extract macros from existing Excel files and embed them as they are. I'm not sure if it is possible and what problems it would give.

Apr 9, 2009 at 5:55 PM
We will not be adding macro support in the near future. This is a complex part and really different in all Excel versions. Plus that is not very well documented :-(