Music in Excel

  • Thread starter Thread starter MAX
  • Start date Start date
M

MAX

Is there a code or something else that that play music when open an excel file?
 
I used to SHELL to an old version of windows media player.


Shell "mplayer.exe /Play c:\your.mp3", vbMinimizedNoFocus


Dennis
 
This will play then close my wave file in mplay32(Win XP).

Sub Auto_Open()

RetVal = Shell("C:\WINDOWS\system32\mplay32.exe /play /close
C:\Dennis\Music\Hail_to_the_Chief.wav",vbNormalFocus)

End Sub



Dennis
 

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

Back
Top