ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   speech function and variables (https://www.excelbanter.com/excel-programming/396212-speech-function-variables.html)

G-labman

speech function and variables
 
I I have a macro that enters data into cells and want the data values to be
read back to me as I enter it. The SpeakonEnter doesn't work for this
because I'm not actually pressing 'Enter' - it's the macro putting the data
in. Is there a way to make this happen by using the speech.speak function
with a varible name after the function? Perhaps another way?
I can't seem to get it to work.

Gary''s Student

speech function and variables
 
You can always "speak" text without or before entering it in a cell:

Sub talkum()
Application.Speech.Speak "hi there"
End Sub

--
Gary''s Student - gsnu200739


"G-labman" wrote:

I I have a macro that enters data into cells and want the data values to be
read back to me as I enter it. The SpeakonEnter doesn't work for this
because I'm not actually pressing 'Enter' - it's the macro putting the data
in. Is there a way to make this happen by using the speech.speak function
with a varible name after the function? Perhaps another way?
I can't seem to get it to work.



All times are GMT +1. The time now is 06:37 PM.

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