View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Barb Reinhardt Barb Reinhardt is offline
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?!?