word报run-time error '91'错误

在开发 oa 时,用 vb 写了一个针对 office xp 的控件,当使用 word 2003 时,会导致 word run-time error '91'  object variable or with block variable not set 错误问题,在 Documents and Settings 目录下搜索隐藏文件 Normal.dot ,然后将其删除,可以解决 word 报错的问题。原理目前还没有搞清楚。还需要对word 2003的api进行研究。

你可能感兴趣的:(word报run-time error '91'错误)