VBA code from template is linked to doc file. I need a copy

本文探讨了在Microsoft Word 2000中使用VBA时遇到的问题:VBA代码放置在模板中后并未直接复制到由该模板创建的文档中,而是在文档中保留了一个指向模板文件的链接。当模板被移动、更改或删除时,文档会失去宏功能。文章寻求解决方案以确保模板中的所有VBA代码能被复制到文档中。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

VBA code from template is linked to doc file. I need a copy.

Hi all, I've just beginning using VBA in MS Word (2000) and I'm wondering that VBA code placed in a template is not copied to the file being created on the base of the template (like in MS Excel), but in the doc file is a link to the dot file only. What about if the dot is moved, changed or deleted? My tests have shown that my doc looses the macro functionality which was in the template. How can I force that the whole VBA code from the template is _copied_ to the doc file? Greatings from Germany Joerg -- http://www.joergei.de/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值