Application.Speech property (Excel)

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.

Sub UseSpeech() 
 
 Application.Speech.Speak "Hello" 
 
End Sub

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.