More WAV questions.
1. How do I embedded a WAV file?
2. How do I play a embedded WAV file.
By the way Chip, your macros playing WAV file worked. My mistake.
Regards,
Julian
HTH, Greg
"Julian" <bi...@yahoo.com> wrote in message
news:b4a6feb1.0112...@posting.google.com...
Try something like the following:
With ActiveSheet.OLEObjects.Add( _
Filename:="c:\windows\media\logoff.wav", link:=True)
.Visible = True
.Name = "MyWaveObject1"
.Verb xlVerbPrimary
End With
The .Verb method plays the sound.
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com ch...@cpearson.com
"Julian" <bi...@yahoo.com> wrote in message
news:b4a6feb1.0112...@posting.google.com...