Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How can I add sound to a macro button in excel?

How can I add sound to a macro button in excel?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default How can I add sound to a macro button in excel?

Add a line like this to your macro:

Application.Speech.Speak "boing"

--
Gary''s Student - gsnu200907


"KCSA" wrote:

How can I add sound to a macro button in excel?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default How can I add sound to a macro button in excel?

simplest

Sub test()
Beep
End Sub

If you want to play a wav file that is also possible with a little work.
--
HTH...

Jim Thomlinson


"KCSA" wrote:

How can I add sound to a macro button in excel?

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
Create macro with button in excel spreadsheet Lori Excel Worksheet Functions 2 July 24th 08 01:43 PM
Excel 2007 crash when trying to add macro button to QAT Ron Excel Discussion (Misc queries) 2 August 17th 07 10:53 PM
how to link a macro to a button on the excel sheet Neo Excel Discussion (Misc queries) 1 June 16th 06 05:04 PM
Macro button from office (excel) 98 widman Excel Discussion (Misc queries) 2 April 22nd 06 01:06 PM
excel to html looses button and macro, why? Kelly Mayo Excel Discussion (Misc queries) 0 October 7th 05 07:09 PM


All times are GMT +1. The time now is 09:34 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"