thekneeguy
Joined: 19 Sep 2005
Posts: 1
|
Posted:
Mon Sep 19, 2005 5:57 pm Post subject:
Using Windows media player in excel |
|
|
HI I am probably not in the right forum. If anyone knows what forum I could try please direct me.
I am trying to use a .wmv file in excel executed by a commmand button on a user form. I have tried the following. Would anyone happen to know why I get a "run" method failure compiler message? Could anyone direct me to correct this or to information which could help? Thank you.
Private Sub CommandButton12_Click()
CreateObject("WSCript.Shell").Run "C:\Documents and Settings\Richard.Richard-A2823C\Documents\InsertMovie.wmv", True
End Sub
I have also tried double commas after .wmv",,
|
|