Implement Text to Speech in Office

Category:
Office/VBA
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
To implement the following code, copy and paste one of the included three snippets of code in an event procedure of your Office application. Fire the event, and hear it speak. This example assumes speech features have been installed on the host system.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: