View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Phillips Phillips is offline
external usenet poster
 
Posts: 48
Default How can I make a sound alert using macro in Excel! (But not use speaker)

You can do something like:
Private Sub PlaymySound()
Call PlaySound("c:\whatever.wav", 0&, SND_ASYNC Or SND_FILENAME)
End Sub

see
http://support.microsoft.com/default...NoWebContent=1
for more info

HTH
Phil


"bookworm98" wrote in message
...

I want to make a sound alert. But It not use the external speaker (Beep
function can do this).
Is there anyone know any Macro function in Excel can do this?
Thank you!


+----------------------------------------------------------------+
| Attachment filename: jig.gif |
|Download attachment:

http://www.excelforum.com/attachment.php?postid=378485|
+----------------------------------------------------------------+

---
~~ Message posted from http://www.ExcelForum.com/