Speech Property [Excel 2003 VBA Language Reference]

Returns a Speech object.

expression.Speech

expression Required. An expression that returns an Application object.

Example

In the following example, Microsoft Excel plays back "Hello". This example assumes speech features have been installed on the host system.

Sub UseSpeech()

    Application.Speech.Speak "Hello"

End Sub

Note  There is a speech feature in the setup tree that pertains to Dictation and Command & Control that does not have to be installed.

Applies to | Application Object