speech command in excel 2000

oldbrewer

Well-known Member
Joined
Apr 11, 2010
Messages
11,012
does anybody know if this is possible in excel 2000, please. I have asked before but answers seem to relate to later versions.

application.speech.speak "A1" does not work nor does range ("A1").speak
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi - From memory I think application.speech.speak wasn't introduced until Excel XP.

Can you try the following code to see if you can use the COM object instead?

Code:
Sub test()

    Dim s As Object
    Set s = CreateObject("SAPI.SpVoice")
    s.Speak "Hello World"
    Set s = Nothing

End Sub

Dean.
 
Upvote 0
Dean - yes I do hear hello world through my speakers. I am not good at VBA and cannot see how to convert the code to make it speak the contents of cell A1.
 
Upvote 0

Forum statistics

Threads
1,214,601
Messages
6,120,462
Members
448,965
Latest member
grijken

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top