ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   powerpoint slide show .pps (https://www.excelbanter.com/excel-programming/373956-powerpoint-slide-show-pps.html)

Kevin

powerpoint slide show .pps
 
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?

Tom Ogilvy

powerpoint slide show .pps
 
try using the shell command

--
Regards,
Tom Ogilvy


"Kevin" wrote in message
...
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?




Kevin

powerpoint slide show .pps
 
I tried this:
Sub test()
Shell "C:\EVA\Populate_Add_line.pps", 1
End Sub

But I get "Invalid Procedure call or argument"



"Tom Ogilvy" wrote:

try using the shell command

--
Regards,
Tom Ogilvy


"Kevin" wrote in message
...
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?





NickHK

powerpoint slide show .pps
 
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

"Kevin" wrote in message
...
I tried this:
Sub test()
Shell "C:\EVA\Populate_Add_line.pps", 1
End Sub

But I get "Invalid Procedure call or argument"



"Tom Ogilvy" wrote:

try using the shell command

--
Regards,
Tom Ogilvy


"Kevin" wrote in message
...
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?








All times are GMT +1. The time now is 05:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com