Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I make VBA code run in Powerpoint 2002

Status
Not open for further replies.

DougP

MIS
Joined
Dec 13, 1999
Messages
5,985
Location
US
I have a DVD video that runs in its DVD player program. I want to add this to my Powerpoint presentation. But there is no codec for powerpoint.
I created a hyperlink in the powerpoint slide that run's it.
I would like it to run it as soon as the side comes up without having to click the hyperlink.
Can I use VBA code to open the hyperlink and where do I put the VBA code?
Here is some code that works in Access

Code:
    Dim fullPath As String
    Dim docname As String
    docname = "VTS_17_1.VOB"
    fullPath = "E:\VIDEO_TS\"
    Application.FollowHyperlink fullPath

TIA


DougP, MCP, A+
 
Did you try inserting your DVD player application as an object?

Or

Linked it via the Action Settings and the Run command?


Member- AAAA Association Against Acronym Abusers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top