[attach]25215[/attach] 作者: Grant 时间: 2007-7-4 20:11
Dim holder As Long, present As Object
Dim pptobj As PowerPoint.Application
Set pptobj = New PowerPoint.Application
pptobj.Visible = True
pptobj.WindowState = ppWindowMinimized
' 启用powerpnt并打开ppt文件.
Set pptobj = CreateObject("owerPoint.Application")
Set present = pptobj.Presentations.Open _
(CurrentProject.Path & "\pptexample.ppt")