PDA

View Full Version : Have sound embedded in VBA file?



doctortt
05-01-2011, 09:00 AM
Is it possible to have some sounds embedded in the VBA file?

And when Excel actually plays the file, it plays without loading the user interface of windows media player? so it plays within Excel?

Kenneth Hobs
05-01-2011, 01:28 PM
It depends on your sound file type. See http://www.vbaexpress.com/forum/showthread.php?t=37056

doctortt
05-01-2011, 05:52 PM
It depends on your sound file type. See http://www.vbaexpress.com/forum/showthread.php?t=37056


Thanks a lot, but is it possible to store the a wav file within the Excel file?

Kenneth Hobs
05-01-2011, 06:20 PM
It is done by Insert > Object > From File. From there, see the example file in the thread that I referenced.