play wave file from Excel 2003 macro

M

Marvin

I can get the media player to start but it does not play the wave file. I can
play the wave file by clicking on it directly. Here is the code I am trying...

Cantillation = Shell("C:\Program Files\Windows Media Player\wmplayer.exe
C:\Documents and Settings\Marvin\My Documents\Marvin
Klein\Cantillation\Cantillation Sounds\MyWavFile", vbNormalFocus)

The old play commands have been removed in 2003 so I am hoping there is
another way to play a audio file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top