speech command in excel 2000

oldbrewer

Board Regular
Joined
Apr 11, 2010
Messages
11,005
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
 

Some videos you may like

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

deanst

Board Regular
Joined
Nov 1, 2011
Messages
71
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.
 

oldbrewer

Board Regular
Joined
Apr 11, 2010
Messages
11,005
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,694
Messages
5,597,571
Members
414,157
Latest member
MrBJBones

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
Top