ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sound alert (https://www.excelbanter.com/excel-discussion-misc-queries/91253-sound-alert.html)

Antonio

Sound alert
 
I use the Beep command in VBA.

Is there a way to emit a sound with different tone or frequency?

Basically, I would like the program to emit different sounds depending on
the line of code reached.

Beeping a different number of times is not the ideal solution.

Thanks,

Antonio

Harald Staff

Sound alert
 
Hi Antonio

See
http://www.j-walk.com/ss/excel/tips/tip87.htm
where you can specify your own recordings to be played.

HTH. Best wishes Harald

"Antonio" skrev i melding
...
I use the Beep command in VBA.

Is there a way to emit a sound with different tone or frequency?

Basically, I would like the program to emit different sounds depending on
the line of code reached.

Beeping a different number of times is not the ideal solution.

Thanks,

Antonio




CLR

Sound alert
 
If it will work for you.....Chip Pearson shows here how to play a wav
file.........

http://www.cpearson.com/excel/excelM.htm#PlayWAV

Vaya con Dios,
Chuck, CABGx3



"Antonio" wrote:

I use the Beep command in VBA.

Is there a way to emit a sound with different tone or frequency?

Basically, I would like the program to emit different sounds depending on
the line of code reached.

Beeping a different number of times is not the ideal solution.

Thanks,

Antonio


Antonio

Sound alert
 
Beautiful! and thanks.

Antonio

"Harald Staff" wrote:

Hi Antonio

See
http://www.j-walk.com/ss/excel/tips/tip87.htm
where you can specify your own recordings to be played.

HTH. Best wishes Harald

"Antonio" skrev i melding
...
I use the Beep command in VBA.

Is there a way to emit a sound with different tone or frequency?

Basically, I would like the program to emit different sounds depending on
the line of code reached.

Beeping a different number of times is not the ideal solution.

Thanks,

Antonio






All times are GMT +1. The time now is 02:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com