Forum Moderators: open

Message Too Old, No Replies

Powerpoint HTML

open link on last slideshow screen

         

jefferson

4:08 pm on Oct 10, 2005 (gmt 0)

10+ Year Member



i have a powerpoint presentation that has a link on the last slide. Is there a way to open a link when the black screen that say "click to exit slideshow" is clicked. so basically it will open a new browser window when you exit the slideshow.

aspdaddy

5:56 pm on Oct 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Something like this should do it, you have to add the first line in powerpoint to enable event handling:

Public WithEvents PPTEvent As Application
Private Sub PPTEvent_SlideShowEnd(ByVal Pres As Presentation)
Dim objBroswer As Object
Set objBroswer = CreateObject("InternetExplorer.Application")
objBroswer.Navigate ("http://www.example.com")
objBroswer.Visible = True
End Sub

[edited by: Xoc at 12:31 am (utc) on Oct. 27, 2005]
[edit reason] changed to use example.com [/edit]

jefferson

6:27 pm on Oct 11, 2005 (gmt 0)

10+ Year Member



That seems ok, but what file is this code supposed to go into in the ppt_files folder?