简体   繁体   English

将宏从一个Excel工作簿移动到另一个

[英]Moving Macros from one Excel workbook to another

I have 2 versions of workbook with macros. 我有带有宏的工作簿的2个版本。 Latest version is 4. I have all my test cases (test case are really in huge number) written in version 3 of macros on Excel Workbook . 最新版本是4。我的所有测试用例(测试用例的数量确实很多)都用Excel Workbook的宏的版本3编写。 Now I need update my workbook to version 4 of macros. 现在,我需要将工作簿更新为宏的版本4。 What is the best way to do so apart from copy/pasting? 除了复制/粘贴,最好的方法是什么?

您可以简单地从版本3导出宏并将其导入版本4。此外,要将测试用例从版本3复制到版本4,可以使用在右键单击工作表名称时获得的移动/复制选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM