Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
pj
 
Posts: n/a
Default How can i play a wave file in excel?

I have stock data coming in via DDE link. I want to play a .wav file if a
High or Low value is reached.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default How can i play a wave file in excel?

Since most .wav files are pretty, just insert it in the worksheet:

Insert Object etc.

find the place in your macro that you want the file played and insert
something like:

ActiveSheet.Shapes("Object 1").Select
Selection.Verb Verb:=xlPrimary
--
Gary's Student


"pj" wrote:

I have stock data coming in via DDE link. I want to play a .wav file if a
High or Low value is reached.

  #3   Report Post  
Posted to microsoft.public.excel.misc
pj
 
Posts: n/a
Default How can i play a wave file in excel?

Thanks for the input - sadly I have lttile experience with VBA.
Could you provide a little more syntax? Assuming values in X25, X26, X27
Label 1
If X25 = X26 play file1.wav
If X25 <= X27 play file2.wav
goto Label 1

It would be nice to be able to access the speech center also and have it
read the contents of specified cells.
i.e. if X25X26 play file1.wav and Read/Say contents of Z30
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
Saved *.csv file gives SYLK file type warning upon Excel 2003 open Tom Excel Discussion (Misc queries) 5 March 19th 08 03:15 PM
Insert & link a graphic file in Excel 2003 -- updatable pictures! ODI Excel Discussion (Misc queries) 7 November 14th 05 02:36 PM
How do I unlock FILE access? rcmodelr Excel Discussion (Misc queries) 7 November 12th 05 09:55 PM
Reflecting info between an excel file and a word one or two excel file. Starriol Excel Worksheet Functions 0 November 3rd 05 01:49 PM
Reflecting info between an excel file and a word one or two excel file. Starriol Links and Linking in Excel 0 November 3rd 05 01:49 PM


All times are GMT +1. The time now is 11:46 AM.

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"