Computer Learning Zone CLZ Access Excel Word Windows

Power comes not from knowledge kept but from knowledge shared.

-Bill Gates
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > Code Vault > Access VBA > Text to Speech
Text to Speech (Free)
By Richard Rost   Richard Rost on LinkedIn Email Richard Rost   2 years ago

This code will let Access speak to you

Code

Public Sub Speak(Msg As String, Optional Gender As String = "Female")
    
    Dim Vox As Object
    
    Set Vox = CreateObject("SAPI.SpVoice")
    Set Vox.Voice = Vox.GetVoices("Gender = " & Gender).Item(0)
    Vox.Speak Msg
    
End Sub


Usage

I like to put a text box on a form and then add a button that says:

Speak TextBoxName

I cover this function in my Text to Speech Fast Tip video.

 

Start a NEW Conversation
 
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
 
Subscribe
Subscribe to Text to Speech (Free)
Get notifications when this page is updated
 
 
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/21/2024 7:34:30 AM. PLT: 1s
Keywords: code vault access text to speech speak synthesis  PermaLink  Text to Speech (Free)