View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Gord Dibben Gord Dibben is offline
external usenet poster
 
Posts: 22,906
Default Manage and run a WMP Playlist in Excel

This opens WMP for me.

Sub WMP_Run()
On Error Resume Next
Shell ("C:\Program Files\Windows Media Player\wmplayer.exe"), _
vbNormalFocus
If Err < 0 Then _
MsgBox "WMP is not installed on your computer."
End Sub

Where you want to go from here is not clear to me.


Gord Dibben MS Excel MVP


On Thu, 11 Sep 2008 10:13:01 -0700, KJ MAN
wrote:

I would like for my Active X control Button to Open Windows Media Player
and play Songs from my Spreadsheet. Can anyone help.
DDE Initiate/Execute Does not open wmplayer.exe (says its missing or damaged)
Shell doesn't work for me either.
Please Help.


Thanks