Speech object (Excel)
Contains methods and properties that pertain to speech.
Use the Speech property of the Application object to return a Speech object.
After a Speech object is returned, you can use the Speak method of the Speech object to play back the contents of a string. In the following example, Microsoft Excel plays back "Hello". This example assumes that speech features have been installed on the host system.
There is a speech feature in the setup tree that pertains to Dictation and Command & Control that does not have to be installed.
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.