Submitted By: Kent Finkle

Uses the Microsoft Office object model to open a PowerPoint presentation from a script.

Visual Basic
Edit|Remove
'*  Script name:    OpenPowerPoint.vbs
'*  Created on:     7/3/2006
'*  Author:         Kent Finkle
'*  Purpose:        Demonstrate opening a PowerPoint file from a script

Dim ppt
Set ppt = CreateObject("PowerPoint.Application")
ppt.Visible = True
ppt.Presentations.Open "C:\Scripts\BusinessPlan.ppt"