Application.Speech Property

Returns a Speech object.

Syntax

expression.Speech

expression   A variable that represents 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.

Visual Basic for Applications
Sub UseSpeech()

    Application.Speech.Speak "Hello"

End Sub

speech speech property