再请教一个问题,使用powerpoint.presentation时,是不是一定要先打开powerpoint?我的程序如下:
Dim pptApp As PowerPoint.Application
Dim pptPres As PowerPoint.Presentation
Set pptApp = New PowerPoint.Application
Set pptPres = pptApp.Presentations.Open("e:\chap2.ppt")
With pptPres
.SaveAs "old copy", ppSaveAsHTML, msoTrue
End With
可是运行时,总是提示“The powerpoint frame window doesn't exist”