I'm working on Excel-VBA code.
I'm getting run time error 429 on line -
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.