Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Speaking error?!?

When I run this simple line...

Application.Speech.Speak "Hello"


....as given by the 'Help' file, I get this error:

Error #1004, Application-defined or object-defined error!


Why?!?



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 735
Default Speaking error?!?

I tried it in xl2007, both sheet module and standard module everything
worked fine!

--

Regards,
Nigel




"Charlotte E." <@ wrote in message
...
When I run this simple line...

Application.Speech.Speak "Hello"


...as given by the 'Help' file, I get this error:

Error #1004, Application-defined or object-defined error!


Why?!?




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Speaking error?!?

It works in 2003 as well. Do you have your speakers on? What references do
you have set for your project?
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"Charlotte E." wrote:

When I run this simple line...

Application.Speech.Speak "Hello"


....as given by the 'Help' file, I get this error:

Error #1004, Application-defined or object-defined error!


Why?!?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Speaking error?!?


Do you have your speakers on?


Yeps...

What references do you have set for your project?


Are any special references needed?
And which?


Have you installed speech?.


I've installed the MS Office Sounds, if that's what you mean?
Or does a special "Speech" package exists?



CE


When I run this simple line...

Application.Speech.Speak "Hello"


....as given by the 'Help' file, I get this error:

Error #1004, Application-defined or object-defined error!


Why?!?



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Speaking error?!?

I'm not sure if you need any references and if you do, which one is needed,
but it worked when I tried it in a project that had the following references
selected:

Visual Basic for Applications
Microsoft Excel 11.0 Object Library
OLE Automation
Microsoft Office 11.0 Object Library
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"Charlotte E." wrote:


Do you have your speakers on?


Yeps...

What references do you have set for your project?


Are any special references needed?
And which?


Have you installed speech?.


I've installed the MS Office Sounds, if that's what you mean?
Or does a special "Speech" package exists?



CE


When I run this simple line...

Application.Speech.Speak "Hello"


....as given by the 'Help' file, I get this error:

Error #1004, Application-defined or object-defined error!


Why?!?






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Speaking error?!?


I have the same references, and also...

Microsoft Speech Object Library

....but it just doesn't work!


Strange thing is that when I show the "Text To Speech" toolbar, all the
buttons are 'ghosted', and no matter what I do, I just can't get any of them
to work???

It is as if Excel simply won't recognize the speech abilities?!?

And yesterday, I even tried to do a repair of my Excel-installation, but
still no luck!

Any help would be greatly apreciated???


CE

Barb Reinhardt wrote:
I'm not sure if you need any references and if you do, which one is
needed, but it worked when I tried it in a project that had the
following references selected:

Visual Basic for Applications
Microsoft Excel 11.0 Object Library
OLE Automation
Microsoft Office 11.0 Object Library


Do you have your speakers on?


Yeps...

What references do you have set for your project?


Are any special references needed?
And which?


Have you installed speech?.


I've installed the MS Office Sounds, if that's what you mean?
Or does a special "Speech" package exists?



CE


When I run this simple line...

Application.Speech.Speak "Hello"


....as given by the 'Help' file, I get this error:

Error #1004, Application-defined or object-defined error!


Why?!?



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Speaking error?!?

Have you installed speech.
View the Text to Speech toolbar.

Regards,
Peter T


"Charlotte E." <@ wrote in message
...
When I run this simple line...

Application.Speech.Speak "Hello"


...as given by the 'Help' file, I get this error:

Error #1004, Application-defined or object-defined error!


Why?!?





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
My computer keeps speaking out cells in excel, no other program K8 Excel Discussion (Misc queries) 1 October 23rd 09 03:45 PM
Error handling error # 1004 Run-time error [email protected] Excel Programming 3 May 20th 08 02:23 PM
Error Handling - On Error GoTo doesn't trap error successfully David Excel Programming 9 February 16th 06 05:59 PM
Generally speaking, which is faster? Steph[_3_] Excel Programming 5 June 9th 04 07:23 PM
Automation Error, Unknown Error. Error value - 440 Neo[_2_] Excel Programming 0 May 29th 04 05:26 AM


All times are GMT +1. The time now is 07:21 AM.

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"