ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro from excel to outlook for tts (https://www.excelbanter.com/excel-programming/279203-macro-excel-outlook-tts.html)

Rodger[_3_]

Macro from excel to outlook for tts
 
Anybody have any luck with getting the tts engine in
excel work with outlook?

Microsoft list a few examples but they aren`t much of a
help for outlook 2003.
This one is for word and I could not get it to work.

Sub TTS()
'Declare and create an Excel object.
Dim XL_tts As Excel.Application
Set XL_tts = CreateObject("Excel.Application")
XL_tts.Speech.Speak Selection
XL_tts.Quit
Set XL_tts = Nothing
End Sub


I am sure one of you can get it right !
Thanks for any help in posting a code or syntax.

Rodger


All times are GMT +1. The time now is 10:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com