powerpoint slide show .pps

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

Guest

If I go to the file manager and double click my .PPS file it opens as the
slide show only as it should. If I make a hyperlink in a cell to that .pps
file it opens in powerpoint rather than the stand alone show.

Is there a way to make it open correctly in a hyperlink? or what macr syntax
would I use to open it?
 
I tried this:
Sub test()
Shell "C:\EVA\Populate_Add_line.pps", 1
End Sub

But I get "Invalid Procedure call or argument"
 
Kevin,
Check the help on Shell :
"Runs an executable program and returns a Variant (Double) representing the
program's task ID if successful, otherwise it returns zero."

So you to run the PPT app, passing the filename as a parameter. Also, you
need to tell PPT to the file as a slide show.
http://www.pptfaq.com/FAQ00528.htm

Something like this depending on your paths :

Shell """C:\Program Files\Microsoft Office\Office10\POWERPNT.EXE"" /s
""C:\Test.pps""", 1

NickHK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top