Question about Speech

A

Albert

Hello!
I have both Excel 2003 and Excel 2007 installed in my computer.
When I use application.speech.speak("Hello") in Excel 2007 it works great.
However, in Excel 2003 I get an error 1004 with the same procedure.
Is there a way to install the speech in Excel 2003?
I thank you in advance,
Albert C
 
S

scattered

Hello!
I have both Excel 2003 and Excel 2007 installed in my computer.
When I use application.speech.speak("Hello") in Excel 2007 it works great..
However, in Excel 2003 I get an error 1004 with the same procedure.
Is there a way to install the speech in Excel 2003?
I thank you in advance,
Albert C

Seems to be a bug in Excel 2003 since the online help for it indicates
that it *should* work. In any event, try:

Sub Test()
Dim MyVoice As Object
Set MyVoice = CreateObject("Sapi.SpVoice")
MyVoice.Speak "Hello"
End Sub

and see if that does it for you

-scattered
 
A

Albert

Thank you sirrrrr....
Great Success!!!!

scattered said:
Seems to be a bug in Excel 2003 since the online help for it indicates
that it *should* work. In any event, try:

Sub Test()
Dim MyVoice As Object
Set MyVoice = CreateObject("Sapi.SpVoice")
MyVoice.Speak "Hello"
End Sub

and see if that does it for you

-scattered
 
M

Marvin

I have a long narrative using this method and cannot find a way to esc out
once it starts speaking. Any help would be greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top