Presentations.Open (PowerPoint)

Opens the specified presentation. Returns a Presentation object that represents the opened presentation.

With the proper file converters installed, Microsoft Office PowerPoint 2003 and earlier versions open files with the following MS-DOS file name extensions: .ch3, .cht, .doc, .htm, .html, .mcw, .pot, .ppa, .pps, .ppt, .pre, .rtf, .sh3, .shw, .txt, .wk1, .wk3, .wk4, .wpd, .wpf, .wps, and .xls. PowerPoint also opens files with the following file name extensions: .docm, .docx, .mhtml, .potm, .potx, .ppam, .pptm, .pptx, .ppsm, .ppsx, .thmx, .xlsm, and .xlsx. The ReadOnly parameter value can be one of these MsoTriState constants.

Syntax : expression.Open (FileName, ReadOnly, Untitled, WithWindow)

Presentations.Open FileName:="C:\My Documents\pres1.pptx", ReadOnly:=msoTrue


The following argument is required

FileName (String) - The name of the file to open.

The following arguments are optional

ReadOnly (Office.MsoTriState) - Specifies whether the file is opened with read/write or read-only status.

Untitled (Office.MsoTriState) - Specifies whether the file has a title.

WithWindow (Office.MsoTriState) - Specifies whether the file is visible.