Jim,
In general, if you want to launch a program from within VBA, you can use the SHELL command. It can launch Windows Media Player and automatically play whatever file you tell it to within the VBA macro.
Code:
Private Sub CommandButton1_Click()
FileToPlay = """C:\Documents and Settings\RuRichter\Desktop\rainreport.mp3"""
Shell "C:\Program Files\Windows Media Player\wmplayer /play /close " & FileToPlay
End Sub
Your path and/or filename will likely have spaces in it, so put triple double quotes around the path/filename. It will look like this:
There are 3 quotes at the end--two for the path/filename and one to enclose the Shell argument.
Here are some other switches you may need to use for your Shell command:
/open: Open the file, don't automatically start playing.
/play: Start playing the file as soon the player is launched.
/close: Close the player after playback (only works when used with /play).
/fullscreen: Start the file in full-screen mode.
/new: Use a new instance of the player.
HTH
Russ