nanaxthailand.blogg.se

Turn on developer tab excel
Turn on developer tab excel








  1. #Turn on developer tab excel code
  2. #Turn on developer tab excel windows

And you can add other video file extensions as you need into the *.mp4 *.avi *.mpeg *.mtsscript.Ĥ.

#Turn on developer tab excel windows

Note: In the above code, CommandButton1 is the command button name you inserted, and the WindowsMediaPlayer1is the Windows Media Player name you have inserted. VBA code: Play a video file from worksheet: Private Sub CommandButton1_Click()įName = Application.GetOpenFilename(FileFilter:="Video Files, *.mp4 *.avi *.mpeg *.mts", Title:="Please select a Video File", MultiSelect:=False)

#Turn on developer tab excel code

And then close the Properties dialog, then double click the Command Button, and then copy and paste the following VBA code to replace the original code into the Microsoft Visual Basic for Applications window. Then right click the Command Button, and choose Properties from the context menu, in the popped out Properties dialog box, type the text Play Video beside the Caption field under Alphabetic tab, see screenshot:ģ. According to the step 1-2 in method 1 to insert the Windows Media Player control, and then go on clicking the Developer > Insert > Command Button to insert a Command Button, see screenshot:Ģ. If you want to play a video file with a command button, when you click the command button, a browse window will pop out to let you choose the video file to play. Play a video file from worksheet by clicking a Command Button After finishing the above settings, please exit Design mode, and, your specified video is playing now. (2.) Copy and paste your video file path which should include the file extension into the URL field.Ĥ. (1.) In the Alphabetic tab, please select True option from the fullScreen field Then go to the Properties dialog by clicking Developer > Properties, in the Properties dialog, please do the following operations: In the More Controls dialog box, scroll and select Windows Media Player option, then click OK button to close the dialog, and then drag the mouse to draw a Windows Media Play object, see screenshot:ģ. Click Developer > Insert > More Controls, see screenshot:Ģ. In Excel, there is a useful control - Windows Media Play can help you to play a video file, please do as follows:ġ. Amazing! Using Efficient Tabs in Excel Like Chrome, Firefox and Safari! Save 50% of your time, and reduce thousands of mouse clicks for you every day!










Turn on developer tab excel