#1   Report Post  
Posted to microsoft.public.excel.programming
tjh tjh is offline
external usenet poster
 
Posts: 96
Default Message

Hello,

I use message boxes to display the end of a macro/code. I would like for a
voice to also speak the message when the code is complete. Is it possible to
add voice responses. What would the code look like for a voice response.

Thank You,


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default Message

Application.Speech.Speak "Hello"


"tjh" wrote:

Hello,

I use message boxes to display the end of a macro/code. I would like for a
voice to also speak the message when the code is complete. Is it possible to
add voice responses. What would the code look like for a voice response.

Thank You,


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Message

there is a library you can add on from the VBE called Microsoft Direct
Speech Synthesis

tjh wrote:
Hello,

I use message boxes to display the end of a macro/code. I would like for a
voice to also speak the message when the code is complete. Is it possible to
add voice responses. What would the code look like for a voice response.

Thank You,


  #5   Report Post  
Posted to microsoft.public.excel.programming
tjh tjh is offline
external usenet poster
 
Posts: 96
Default Message

When I run this code I get a the error: "run-time error 1004" which is an
"Application-defined or object-defined error" .

I have added the Reference you suggested to the Microsoft Direct Speech
Synthesis.

Any suggestions on how to correct this.

Thank You,




"Die_Another_Day" wrote:

Application.Speech.Speak "I am done"

HTH

Die_Another_Day

wrote:
there is a library you can add on from the VBE called Microsoft Direct
Speech Synthesis

tjh wrote:
Hello,

I use message boxes to display the end of a macro/code. I would like for a
voice to also speak the message when the code is complete. Is it possible to
add voice responses. What would the code look like for a voice response.

Thank You,





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Message

Application.Speech is only supported on XL2002 (or 2003 ??) and higher.
How are you using the Microsoft Direct Speech Synthesis.

NickHK

"tjh" wrote in message
...
When I run this code I get a the error: "run-time error 1004" which is an
"Application-defined or object-defined error" .

I have added the Reference you suggested to the Microsoft Direct Speech
Synthesis.

Any suggestions on how to correct this.

Thank You,




"Die_Another_Day" wrote:

Application.Speech.Speak "I am done"

HTH

Die_Another_Day

wrote:
there is a library you can add on from the VBE called Microsoft Direct
Speech Synthesis

tjh wrote:
Hello,

I use message boxes to display the end of a macro/code. I would like

for a
voice to also speak the message when the code is complete. Is it

possible to
add voice responses. What would the code look like for a voice

response.

Thank You,





  #7   Report Post  
Posted to microsoft.public.excel.programming
tjh tjh is offline
external usenet poster
 
Posts: 96
Default Message

I am using XL2003. I was testing out the message below submitted earlier in a
subprocedure, but I still get the run-time error. Any suggestions.

This is the test procedure I used:

Sub speaktester()

Application.Speech.Speak ("Hello")

End Sub







"NickHK" wrote:

Application.Speech is only supported on XL2002 (or 2003 ??) and higher.
How are you using the Microsoft Direct Speech Synthesis.

NickHK

"tjh" wrote in message
...
When I run this code I get a the error: "run-time error 1004" which is an
"Application-defined or object-defined error" .

I have added the Reference you suggested to the Microsoft Direct Speech
Synthesis.

Any suggestions on how to correct this.

Thank You,




"Die_Another_Day" wrote:

Application.Speech.Speak "I am done"

HTH

Die_Another_Day

wrote:
there is a library you can add on from the VBE called Microsoft Direct
Speech Synthesis

tjh wrote:
Hello,

I use message boxes to display the end of a macro/code. I would like

for a
voice to also speak the message when the code is complete. Is it

possible to
add voice responses. What would the code look like for a voice

response.

Thank You,





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
Replace Excel Message w/Custom Message Kevin R Excel Programming 1 May 18th 06 04:13 PM
Intercept/replace standard 'cell protected' message with my own message? KR Excel Programming 3 March 16th 06 02:31 PM
Opening an attachment of a message that has a message as attachmen vetron Excel Programming 0 January 30th 06 06:17 PM
changing the message in an error message The Villages DA Excel Worksheet Functions 2 February 18th 05 05:30 PM
Displaying a message in a message box without requiring user to click anything to proceed Android[_2_] Excel Programming 2 June 25th 04 06:44 PM


All times are GMT +1. The time now is 05:09 PM.

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"