Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Application.Speech

Application.Speech
How does this work and what do I need to do my pc to get it working?
I'm running XP with Office 2002.

In the VBE I set a reference to the Speech Object library, and trien
the example from the help file;

Application.Speech.Speak "Hello"

but I get a runtime error 1004.

what does this mean line in the help screen mean;

-This example assumes speech features have been installed on the hos
system. -

I checked my speech settings through the control panel and had th
options there and the SAM voice.

I assume I need some extra software on my PC?

Thank for your hel

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default Application.Speech

Hi,
Not sure, but i think office 2002 may use v6 of ms speack engine, and
win 2000 may come with v 5.1.

It might be that app~.speach "hello" is olny an option for v6?

you can download the latest engine from the ms site somewhere, but A
lot of developers are sicking with 5.1 as it has more vocie and has
wider support.

Sorry not to be of more help

Ross
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 117
Default Application.Speech

MTBer, this was posted from keepitcool... it may help

Have you tried Microsoft Knowledge base?
KB 277808

just a basic error trap...
try it.. if you get an error report it..

Sub SayHello()
On Error GoTo handler
Application.Speech.Speak ("Hello")
handler:
If Err.Number = 1004 Then
MsgBox "This macro requires Text to Speech to be installed."
End If
End Sub

seeya ste
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
TEXT TO SPEECH peyman Excel Discussion (Misc queries) 3 August 26th 08 10:14 PM
Speech recognition Speech regonize Excel Discussion (Misc queries) 1 February 2nd 05 02:35 AM
Getting Speech to work Mark H Excel Worksheet Functions 0 November 4th 04 08:32 PM
macro to close excel application other than application.quit mary Excel Programming 1 September 14th 04 03:43 PM
application.quit will not shut off application john Excel Programming 0 January 9th 04 11:29 PM


All times are GMT +1. The time now is 12:29 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"