我收到以下代码的错误消息:
Dim objPPT As PowerPoint.Application
Dim objPres As PowerPoint.Presentation
'Opening blank presentation
Set objPPT = WScript.CreateObject("PowerPoint.Application")
objPPT.visible = 1
Set objPres = objPPT.presentations.Add
objPres.Slides.Add (1, PowerPoint.PpSlideLayout.ppLayoutBlank)
此脚本停止执行,提示错误消息为Line 1 Char 12 Expected End of statement
我是 vbscript 的新手,如果我犯了一些错误,请帮忙。