PDA

View Full Version : How to store an embedded wave file into a variable



HDCard55
08-08-2018, 12:48 PM
Still have not found a way to store an embedded wave file so it can be played with windows media player.

Has anyone been able to do this.

Thanks

Logit
08-09-2018, 08:58 PM
.
Two resources :

https://excel.tips.net/T002864_Inserting_a_Sound_File_in_Your_Worksheet.html

https://danny.fyi/embedding-and-accessing-a-file-in-excel-with-vba-and-ole-objects-4d4e7863cfff


Perhaps, once you have the sound file embedded, you can record a macro, using the macro recorder, of you clicking on the speaker icon. Then use that recorded macro
as a pattern for the remainder of your code ... to play the file.