在XLSM中复制宏的宏 [英] Macros copying across weird in XLSM

查看:165
本文介绍了在XLSM中复制宏的宏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨;

我正在从现有的XLSM文件创建一个XLSM文件。我没有使用OpenXML。

I am creating an XLSM file from an existing XLSM file. I do NOT use OpenXML for this.

如果我在源文件中找到一个vbaProject.bin文件,我会盲目地将它复制到目标文件。我还将其引用复制到workbook.xml.res。

If I find a vbaProject.bin file in the source file I copy it across blindly to the destination file. I also copy its reference across to workbook.xml.res.

1。这就是我所做的一切 - 还有什么应该做的吗?

1. That is all I do - is there anything else that should be done?

2。在源文件中,宏列表列出"Macro1"。但是在创建的文件中,列表是"report.xlsm!Module2.Macro1"。这是正确的,但为什么现在列出完全限定的名字?

2. In the source file the listing of macros lists "Macro1". But in the created file the list is "report.xlsm!Module2.Macro1". That is correct but why does it now list the fully qualified name?

谢谢 - 戴夫

推荐答案

嗨;

有人有什么建议吗?

谢谢 - 戴夫


这篇关于在XLSM中复制宏的宏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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