[英]Creating Outlook object generates - Run-time error '429': ActiveX component can't create object
I'm working on Excel-VBA code. 我正在处理Excel-VBA代码。
I'm getting run time error 429 on line - 我在网上遇到运行时错误429-
Set mobjOLA = CreateObject("Outlook.Application")
Code is given below - 代码如下-
Public Sub Test
Dim mobjOLA as Object
Set mobjOLA = CreateObject("Outlook.Application")
End Sub
There was mistake in system configuration. 系统配置有误。 Reinstalling Office worked as a solution for me. 重新安装Office对我来说是一个解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.