Question about Speech

  • Thread starter Thread starter Albert
  • Start date Start date
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
 
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
 
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
 
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

Similar Threads

SPEECH problem 4
Text to Speech 2
Application.Speech 2
runtime error code 1004 2
Sort bug on Excel 2007 6
vba in excel 2007 5
Public variable Forgotten by VBA! 2
Scrolling Caption 1

Back
Top