Running PowerPoint from Access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am writing a DB program that show or edit a PP file from access. So, I'm
calling PowerPoint and passing the argument of a PPT/PPS file I want PP to
show, as shown:

Dim stAppName As String
Dim File_Path As String
File_Path = Me!DirPath.Value
stAppName = "C:\Program Files\Microsoft Office\Office11\PowerPnt.exe " &
File_Path
Call Shell(stAppName, vbNormalFocus)

End Sub

This works fine when I'm trying to edit the PPT/PPS file.
Is there a parameter to pass to PP to open the file in SHOW mode
automatically, whitout using PPTView?
Or passing a parameter to PP to open the PPT/PPS file in the second monitor?
 
Try using:

stAppName = "C:\Program Files\Microsoft Office\Office11\PowerPnt.exe " &
"/s " & File_Path


--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


Gus said:
I am writing a DB program that show or edit a PP file from access. So, I'm
calling PowerPoint and passing the argument of a PPT/PPS file I want PP to
show, as shown:

Dim stAppName As String
Dim File_Path As String
File_Path = Me!DirPath.Value
stAppName = "C:\Program Files\Microsoft Office\Office11\PowerPnt.exe " &
File_Path
Call Shell(stAppName, vbNormalFocus)

End Sub

This works fine when I'm trying to edit the PPT/PPS file.
Is there a parameter to pass to PP to open the file in SHOW mode
automatically, whitout using PPTView?
Or passing a parameter to PP to open the PPT/PPS file in the second
monitor?
 
Nice,
Is there another parameter to open in the second monitor with opion to edit
in the first monitor (like kiosko or presenter viewer) ?
 
Back
Top