Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
hyperlink to a powerpoint slide | Excel Worksheet Functions | |||
How do i link Excel to Powerpoint slide show & see graph on wk she | Charts and Charting in Excel | |||
Excel sheet to Powerpoint slide | Excel Programming | |||
slide numbers in powerpoint | Excel Programming | |||
Using excel vba to produce a powerpoint slide | Excel Programming |