Cubist
Well-known Member
- Joined
- Oct 5, 2023
- Messages
- 1,803
- Office Version
- 365
- Platform
- Windows
- MacOS
I'm testing out the
However, when I ran the code, the application said that it was [running] but I didn't hear anything. When I pause the code, I get the "Application-defined or object-defined error". Do I need to set up something first?
This is the simple code.
My volume is up to the max. When I do Preview Voice in the Speech Settings. I can hear "David" speaks.
Application.Speech.Speak.
This is new for me.However, when I ran the code, the application said that it was [running] but I didn't hear anything. When I pause the code, I get the "Application-defined or object-defined error". Do I need to set up something first?
This is the simple code.
VBA Code:
Sub UseSpeech()
Application.Speech.Speak "Hello"
End Sub
My volume is up to the max. When I do Preview Voice in the Speech Settings. I can hear "David" speaks.