Private Sub Workbook_Open()
'Modified 4-6-18 8:45 PM EDT
Dim ans As String
ans = Sheets("Me").Cells(1, 1).Value
Application.Speech.Speak (ans)
End Sub
thanks that was awesome,
is it possible to have a table with different texts - and every time the file opens it will randomly text speech a different text ?
that will be soo informative and helpful ,
It's not critical but I wish excel could just open itself and then read, instead of reading the text and then open the file.
Sub Workbook_Open()
Dim MyCount As Long, r As Long, ans As String
MyCount = WorksheetFunction.CountA(Range("Greetings!A:A"))
r = Int(Rnd() * MyCount) + 1
ans = Sheets("Greetings").Cells(r, "A")
Application.Speech.Speak ans
End Sub
=VLOOKUP(RANDBETWEEN(MIN(טבלה11[number]),MAX(טבלה11[number])),טבלה11,2,FALSE)