Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default Need a click, beep, or a burp

Not from the speakers but something from inside the PC. I need a sound
when a macro has completed. I am not even sure this can be done but I
am hoping.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 128
Default Need a click, beep, or a burp

Fan924 wrote:
Not from the speakers but something from inside the PC. I need a sound
when a macro has completed. I am not even sure this can be done but I
am hoping.


Seems like a strange request. From my knowledge, you can't use the PC speaker
with VB, C can do it.

Can I ask, why not use speaker sound?

--
Anthony Prescott
http://www.apofficesolutions.co.uk

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200902/1

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Need a click, beep, or a burp

hi
at the end of your macro,just before end sub, type the word Beep.

regards
FSt1

"Fan924" wrote:

Not from the speakers but something from inside the PC. I need a sound
when a macro has completed. I am not even sure this can be done but I
am hoping.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Need a click, beep, or a burp

If you want something more distiguishable than just one beep. Try this:

The first macro goes in the standard code module. The second illustrates
how to call the fisrt one. You can insert the Multibeep line into any code
and in the same workbook and it will call the macro. Just indicate the
number of desired beeps where the 3 appears in the code below.

Sub MultiBeep(NumBeeps)
For counter = 1 To NumBeeps
Beep
s = Timer + 0.5
Do While Timer < s
DoEvents
Loop
Next counter
End Sub


Sub alert()
MultiBeep 3
End Sub


"Fan924" wrote:

Not from the speakers but something from inside the PC. I need a sound
when a macro has completed. I am not even sure this can be done but I
am hoping.

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
Need a click, beep, or a burp Fan924 Excel Programming 3 February 28th 09 10:16 AM
BEEP ziad Excel Discussion (Misc queries) 5 December 28th 07 03:56 PM
Beep Antonio Excel Programming 7 February 8th 07 03:05 AM
I want to *beep* *beep*!!!! Jake Marx[_3_] Excel Programming 1 February 22nd 04 01:00 PM
I want to *beep* *beep*!!!! KJTFS[_105_] Excel Programming 0 February 20th 04 02:59 PM


All times are GMT +1. The time now is 09:31 AM.

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

About Us

"It's about Microsoft Excel"