![:\](http://192.241.182.11/images/smilies/unsure.png)
Can anyone help me? (not realy map related)
I am writing some VBA codes in Excel Macros editor, I want to enable a sound from a button, so far I have come up with this but cant make it work.
I need to know where to point to the WAV file in the text, and where in the work book can I place the WAV file to enable the link?
So Far....
PlayWAV()
WAVFile = "m16.wav"
WAVFile = ThisWorkbook.Path & "\" & WAVFile
Call PlaySound(WAVFile, 0&, SND_ASYNC Or SND_FILENAME)
Any sugestions?
PM me with your answers if you can and I will bench test them.
Thanks in advance
LeFtY
![:biggrin:](http://192.241.182.11/images/smilies/biggrin.png)