Microsoft Excel speech using VBA - speak more than one item? -
I am using the following code to read the contents of a cell in Microsoft
Excel
with sub-warning () range ("A1"). Ending end with sub
I would now like to read the contents of many cells
as part of the sentence
For example < / P>
If A1 has a name and B1 has the value of 'morning', then
'afternoon' or 'evening' as text, then To say I pc
The following warning is called
"Good morning John Doe, how are
I have .value (" Good morning ") Has tried to add
John D
Anyone can help?
Thanks
Call the object directly through the range
:
speech
Code> Application.Sp Eech.Speak "Good" & Range ("B1"). Price & amp; "" & Amp; Range ("A1"). Price & amp; ", How are you today? "
Comments
Post a Comment