【发布时间】:2013-08-01 23:50:06
【问题描述】:
当我尝试打开 PPT,而不是创建一个新的(效果很好!)时,我收到以下错误
$objPPT = _PPT_PowerPointApp()
If @error Then
MsgBox(0,"","No PowerPoint available")
Exit
EndIf
$PresInterface = _PPT_CreatePresentation($objPPT) ;Get presentation
interface$objPres = _PPT_PresentationOpen($PresInterface,"C:\Users\s.mailappan\Desktop\3G-Reports\MyAutoItPresentation.ppt") ;Add a new presentation
【问题讨论】:
-
最后两行可能搞砸了?变量
$objPres之前不应该有“接口”... -
是的...我搞定了!还是谢谢!!
标签: com powerpoint autoit