'How to play local video file on loop on an excel userform?
How to play local video file on loop on an excel userform?
Solution 1:[1]
Use an ActiveX control called Microsoft Media Player which is found via the Toolbox and then Additional Controls. Then set the url in the ide.
To get the video to loop requires some code thus
Option Explicit
Private Sub UserForm_Initialize()
WindowsMediaPlayer1.settings.setMode "loop", True
End Sub
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | S Meaden |