Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Macro to "Stop Playing" wave files

I am trying to get a macro to stop playing all wave files that might be
already playing in the background. Any ideas?
TIA
yobeee


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro to "Stop Playing" wave files

What I suggested didn't work or you didn't see the answer?

--
Regards,
Tom Ogilvy

"yo beee" wrote in message
...
I am trying to get a macro to stop playing all wave files that might be
already playing in the background. Any ideas?
TIA
yobeee




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Macro to "Stop Playing" wave files

Tom,
Thanks for your response. Yeah, it did not work and the post was gone on
my end so I thought I would just repost. I appreciate your help.
Unfortunately, your code did not work. I guess it is possible I did
something wrong on my end but I don't think so. Below is the code you
suggested. Any other suggestions would be helpful and very much appreciated.
yobeee

Sub StopMe1()
Const SND_PURGE = &H40
Dim retval As Long
retval = PlaySound(vbNullString, _
0, SND_PURGE = &H40)
End Sub


"Tom Ogilvy" wrote in message
...
What I suggested didn't work or you didn't see the answer?

--
Regards,
Tom Ogilvy

"yo beee" wrote in message
...
I am trying to get a macro to stop playing all wave files that might be
already playing in the background. Any ideas?
TIA
yobeee







Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
hot to calculate peaks of an "irregular" sine wave federico tiso Excel Worksheet Functions 1 November 16th 11 07:56 AM
Stop the "flashing" when I execute an Excel macro? Corinne Excel Discussion (Misc queries) 4 June 25th 09 08:09 PM
How do I stop "global" hyperlinks changing to "local" links? Em Excel Worksheet Functions 2 August 26th 08 01:18 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Macro to concatenate into "B1" B2 thru B"x" based on new data in "Col A" Dennis Excel Discussion (Misc queries) 0 July 17th 06 02:38 PM


All times are GMT +1. The time now is 02:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"