如何在PHPExcel的xlsx构建中附加VBA代码? [英] How to attach VBA code in a xlsx build by PHPExcel?

查看:75
本文介绍了如何在PHPExcel的xlsx构建中附加VBA代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

经过大量搜索,我没有找到我的问题的答案:(

after a lot of search, I did'nt found any answer to my question :(

我正在使用PHPExcel构建一些xlsx文件.

I'm using PHPExcel to build some xlsx file.

我正在寻找一种将VBA代码附加到我的文件的方法.

I'm looking for a kind to attach a VBA code to my file.

有可能吗?

推荐答案

回答可能为时已晚,但我遇到了同样的问题,一种解决方法是,代替写入新文件,而是读取包含您的文件的文件VBA代码并编写.

It's probably too late to answer but I had the same kind of problem and a workaround is, instead of writing in a new file, to read a file containing your VBA code and write in it.

这篇关于如何在PHPExcel的xlsx构建中附加VBA代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆