G
golf4
Hi, everyone -
After speaking with several people, including Jake (Thanks), a
suggestion was made to try and use the SAPI built-in voice to speak in
Excel rather than wav files. I've included some test code below:
Sub test()
Dim s As Object
Set s = CreateObject("SAPI.SpVoice")
s.Speak "Greetings. How are you?"
Set s = Nothing
End Sub
I'm currently using Excel 2000, which, I guess, is limited to only one
voice. I had to do the Tools - References to Microsoft Speech Object
Library and it works.
If anyone has tried this, I'm wondering:
[1] is there a way to modify the code so that I could insert it by way
of a Workbook_Open placement and the voice would announce the name of
the file?
[2] Has anyone had any success in playing with this aspect so that the
voice sounds more "normal" rather than the typical computer voice?
Thanks so much for the help,
Golf
After speaking with several people, including Jake (Thanks), a
suggestion was made to try and use the SAPI built-in voice to speak in
Excel rather than wav files. I've included some test code below:
Sub test()
Dim s As Object
Set s = CreateObject("SAPI.SpVoice")
s.Speak "Greetings. How are you?"
Set s = Nothing
End Sub
I'm currently using Excel 2000, which, I guess, is limited to only one
voice. I had to do the Tools - References to Microsoft Speech Object
Library and it works.
If anyone has tried this, I'm wondering:
[1] is there a way to modify the code so that I could insert it by way
of a Workbook_Open placement and the voice would announce the name of
the file?
[2] Has anyone had any success in playing with this aspect so that the
voice sounds more "normal" rather than the typical computer voice?
Thanks so much for the help,
Golf