[英]Run-time error 429, ActiveX component can't create object, automate MS Word application, CreateObject(“Word.Application”)
I'm running into the following error when executing the following line from VBA (Access): 从VBA(Access)执行以下行时,我遇到以下错误:
Set wd = CreateObject("Word.Application")
I found the following link, but did not find it useful: http://support.microsoft.com/kb/828550 我找到了以下链接,但没有发现它有用: http : //support.microsoft.com/kb/828550
Dim wd As Object
instead of Dim wd as Word.Application
Dim wd As Object
而不是Dim wd as Word.Application
winword.exe /RegServer
in Administrator command prompt. winword.exe /RegServer
。 Did not run silently, merely opened Word. winword.exe /automation
. winword.exe /automation
。 Merely starts Word. winword.exe
as Administrator. winword.exe
。 access.exe
as Administrator. access.exe
。 Examine the LocalServer32 key under the CLSID {000209FF-0000-0000-C000-000000000046}.
检查CLSID {000209FF-0000-0000-C000-000000000046}下的LocalServer32密钥。 Initially was missing.
最初失踪了。 After re-install Word, the CLDID was there but LocalServer32 key is missing
重新安装Word后,CLDID就在那里但缺少LocalServer32密钥
So Word is unable to register properly because you have a system issue. 因此,您无法正确注册,因为您遇到了系统问题。
As that you've tried most or all of the reasonable steps, your next step is to reinstall Windows. 由于您已经尝试了大部分或全部合理步骤,因此下一步是重新安装Windows。
Or you could try manually registering it by duplicating all the relevant keys from a different machine. 或者您可以尝试通过复制来自其他计算机的所有相关密钥来手动注册它。 But that probably wouldn't solve the problem.
但这可能无法解决问题。
Super User might be a better place to ask about installation and Windows registry issues. 超级用户可能是询问安装和Windows注册表问题的更好地方。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.