Call a .pps from excel

Qroozn

Well-known Member
Joined
Mar 12, 2002
Messages
543
How can i call a powerpoint show to open from an excel macro.

I have tried using
microsoftappl.xlpowerpoint

or something similar... but it just opens a new presentation.

TIA :cool:
 
as far as code is concerned

i found this but I don't know what its for
.msoConditionFileTypePowerPointPresentations
that might have something remotely to do with it??
 
Upvote 0

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Thanks for the hyperlink idea.

the code i now have is
'j1 has got the hyperlink address'

Range("J1").Select
Selection.Hyperlinks(1).Follow window:=False, AddHistory:=True
Application.WindowState = xlMaximized

the problem is that is using the web toolbar.
and i am seeing all the powerpoint toolbars instead of a full screen(as compared to when you normally run a .pps file.)

this will surfice for now. thanks for everyones assistance. But i never say no too more guidance. A little bit of knowledge is a dangerous thing.
 
Upvote 0
If you must run via code then
Set a reference to the powerpoint obl

Code;

<pre/>
Sub Run_PPS()

Dim ppApp As PowerPoint.Presentation

Set ppApp = GetObject("C:Program FilesMicrosoft OfficeOffice1033Overview.pps")
ppApp.SlideShowSettings.Run

End Sub
</pre>
 
Upvote 0

Forum statistics

Threads
1,214,972
Messages
6,122,530
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top