用PHPExcel时,编辑excel模板(模板比较复杂),但模板里的宏会丢失,用什么方法才能不丢失模板里的宏呢?或者不用PHPEXCEL也行,只要能打开excel模板,并且能插入值,保存,并且不丢失里面的宏 就行

解决方案 »

  1.   

    黑遗憾,PHPExce 自带的文档中有
    In Excel the sheet state “very hidden” can only be set programmatically, e.g. with Visual Basic Macro. It is not possible to make such a sheet visible via the user interface.
      

  2.   


    我也看到了,不用PHPExcel,只要能编辑模板,不丢失宏的就行,请问版主有没有其他的方法?
      

  3.   

    本帖最后由 xuzuning 于 2012-12-11 17:07:57 编辑