More Visual basic than verbal diarrhea

Draccusfly

New Member
Joined
Jan 5, 2009
Messages
29
I am putting together a Powerpoint presentation for a colleague (hence the title) and need to embed or otherwise make use of a video that has been supplied as a .MOV. As PP cannot make use of .MOV's without other intervention I am trying to create a button on the slide that, when clicked, will open up Quicktime and start the correct movie.

I have got as far as getting the button to start QT, but now i'm stuck...any help would be appreciated..

Dracc
ps here's what I have so far

Private Sub CommandButton1_Click()
Dim MyShell
Dim shell_cmd
shell_cmd = "quicktimeplayer.exe"
Set MyShell = CreateObject("WScript.Shell")
MyShell.Run shell_cmd, 1, 1
End Sub
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi Draccusfly

I'm not sure, but from what I've seen you could try:
shell_cmd = "quicktimeplayer.exe C:\path\filename.mov"
 
Upvote 0

Forum statistics

Threads
1,225,430
Messages
6,184,950
Members
453,269
Latest member
Sc7L

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