View Full Version : Open MP4 File With Macro
mattio
24th September 2017, 02:47 PM
Hi guys,
Anyone know how to write a macro to open a video file in Exel?
Cheers,
Mattio.
walkermac
24th September 2017, 09:05 PM
Public Sub trythisout()
ThisWorkbook.FollowHyperlink "C:\path\videofile.mp4"
End SubOr use a URL, if the file is on the web
mattio
24th September 2017, 09:14 PM
Mate that worked perfectly, thanks for that.
Cheers,
Mattio.
mattio
24th September 2017, 11:26 PM
Is it possible to link to a dynamic code? The file I want to open is a race replay on an external drive and the hyperlink will be dynamic. I have a cell with the dynamic hyperlink that works but I can't link it to a button.
Cheers.
vBulletin v3.0.3, Copyright ©2000-2025, Jelsoft Enterprises Ltd.