RobBroekhuis
Technical User
What's the cleanest way to play sounds from Excel VBA? What I've done so far is insert an object from file, browsed for the .wav, then formatted the object to 100% brightness (white) and no line border, and made it small enough to fit inside cell borders, so it's invisible. I named it "Chime", and put the following code in my VBA macro:
ActiveSheet.Shapes("Chime"
.Select
Selection.Verb
It works, but I can't help but feel there should be a less circuitous way to do this.
Rob
![[flowerface] [flowerface] [flowerface]](/data/assets/smilies/flowerface.gif)
ActiveSheet.Shapes("Chime"
Selection.Verb
It works, but I can't help but feel there should be a less circuitous way to do this.
Rob
![[flowerface] [flowerface] [flowerface]](/data/assets/smilies/flowerface.gif)