版大 可以請教一下嗎??G大
我這是vba撥放的code,為何在win10 office2016下無法執行,其他都可以執行, 是vba版本問題嗎??還是系統問題
Private Sub CommandButton2_Click()
Dim strNAME, strPATHNAME As String
strPATHNAME = Sheets(2).Cells(1, 3)
strNAME = Label2.Caption & ".mp4"
With WindowsMediaPlayer2
.Visible = True
.URL = strPATHNAME & strNAME
.stretchToFit = True
End With
WindowsMediaPlayer2.Width = 285
WindowsMediaPlayer2.Height = 258
WindowsMediaPlayer2.Controls.Play
Find = 0
totalTime = 0
hTimer = SetTimer(0, 0, 1000, AddressOf TimerProc)
End Sub |