Smartgambler
Pro-Punter

Go Back   OZmium Sports Betting and Horse Racing Forums > Public Forums > General Topics
User Name
Password
Register FAQ Search Today's Posts Mark all topics as read

To advertise on these
forums, e-mail us.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th September 2017, 02:47 PM
mattio mattio is offline
Member
 
Join Date: Jan 2011
Posts: 268
Default Open MP4 File With Macro

Hi guys,

Anyone know how to write a macro to open a video file in Exel?

Cheers,

Mattio.
Reply With Quote
  #2  
Old 24th September 2017, 09:05 PM
walkermac walkermac is offline
Member
 
Join Date: Nov 2013
Posts: 605
Default

Code:
Public Sub trythisout() ThisWorkbook.FollowHyperlink "C:\path\videofile.mp4" End Sub
Or use a URL, if the file is on the web
Reply With Quote
  #3  
Old 24th September 2017, 09:14 PM
mattio mattio is offline
Member
 
Join Date: Jan 2011
Posts: 268
Default

Mate that worked perfectly, thanks for that.

Cheers,

Mattio.
Reply With Quote
  #4  
Old 24th September 2017, 11:26 PM
mattio mattio is offline
Member
 
Join Date: Jan 2011
Posts: 268
Default

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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump



All times are GMT +10. The time now is 02:49 AM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2008 OZmium Pty. Ltd. All rights reserved . ACN 091184655