本文介绍了Word VBA“项目不可见";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人知道如何在Word 2007中显示模板吗?我创建了一个模板Experiments.dotm
,并使用外接程序添加了该模板,但是当我尝试在其中创建模块时,收到错误消息:项目不可见"
Does anyone know how to make a template viewable in Word 2007? I created a template, Experiments.dotm
, added it using Add-Ins, but when I try to create a module within it, get an error message: "Project is unviewable"
推荐答案
有关项目不可见"问题的解释,请参见此处:
The explanation for the "Project is unviewable" problem can be found here:
总而言之,如果将VBA作为加载项加载,则无论何时要对其进行编辑,都必须先在Word中打开.dotm(文件...打开),然后才能尝试在VBA中对其进行访问编辑.
In summary, if you load VBA as an add-in, then any time you want to edit it, you have to open the .dotm in Word (File... Open) before you try to access it in the VBA editor.
这篇关于Word VBA“项目不可见";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!