Quantcast
Channel: PHPExcel Forum Rss Feed
Viewing all articles
Browse latest Browse all 2707

New Post: Clone and write .xlsm

$
0
0
Using the supplied workbook and your code (proper close of comment line 1, adding a tag of opening php, adaptation of the paths to my environment), I get a workbook where the small macro functions (dialog box "Hi!").
When you run the script, do you have errors? Is a file produced? If so, that contains (before opening with Excel)?
If you add after the load() :
if($objPHPExcel->hasMacros()) echo 'macros in file',EOL; else echo 'No macros in file', EOL;
What answer gives the test?

Viewing all articles
Browse latest Browse all 2707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>