Playing Audio using VBA?

  Simsy 16:02 12 Oct 2006


Anyone know if the following is possible, easily? If it's not EASILY doable then it's not important and I wont persue it. I've got an idea for something, but it needs to be a "quick 'n' dirty" solution, or not at all. It's not that important and I haven't got much time to spend on it!

The solution can be in either Word or Excel, (or even straifght VB if it meets the above)...

I have a folder with about a dozen small, (a few seconds each), audio files. I have a VBA form that has a dozen buttons...

I want each button to correspond to one of the audio files, so when it's clicked the audio plays...

The audio needs to play without any other media player being invoked, eg just like when using the "Beep" command, it just plays, or when you get the "exclamation" associated with a message box.

Does this make sense? Is it possible?

Thanks in anticipation.



  Simsy 05:24 13 Oct 2006




  Simsy 05:44 19 Oct 2006




  VoG II 08:51 19 Oct 2006

I don't know how I missed this.

click here

  Simsy 09:03 19 Oct 2006

I don't know how I missed that page! I look at the site all the time!

I'll check it out later.



This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Honor 9 Lite review

How Social Media has Propelled Political Graphic Design and Art in the Last Decade

The best kids apps for iPhone & iPad 2018

HomePod d’Apple : date de sortie, prix et fiche technique