Implement Text to Speech in Office
Version Compatibility: Visual Basic 6
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.