Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
551 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
Talking to Excel to fill in your input forms, using speech recognition and VBA Part two of a three-part series of blogs |
---|
What happens when you combine the magic of speech recognition with the power of VBA? A user form which you can fill in without a keyboard!
|
In this blog
You won't be able to detect speech from within VBA if your computer isn't listening! This page shows how to configure speech recognition on your computer.
I'm using a Dell Precision laptop running Windows 10 Professional, but I suspect these instructions will work for any reasonably modern Windows computer.
First, go to the Windows speech recognition program:
The program to run on your computer (I typed Spe in the Type here to search box, which was sufficient to find this).
The speech recognition toolbar may appear, in which case right-click to choose to configure your microphone:
If this is the first time you've used speech recognition, Windows may miss out this step and ask if you want to go straight to configuring your microphone.
Choose your microphone:
I don't have an external microphone connected to my computer, so I've chosen this option to use my laptop's internal microphone.
Keep going through the wizard, and you'll be asked to entertain the people who share your office:
How to make friends and influence people ...
If you're serious about using speech recognition, you should now train the algorithm to recognise your voice:
Right-click on the speech recognition toolbar and choose to train your computer!
I confess that I haven't done this (which could be why my results are so garbled). Maybe, deep down, I'm not serious about speech recognition ...
You can right-click on the speech recognition toolbar to choose your listening mode:
You can show the toolbar by clicking on this icon in the task bar.
Depending on how much you value your privacy, you can either tell Cortana to listen to everything you say, or just when you say start listening:
... or you can tell Cortana not to listen at all!
You can stop listening by saying stop listening.
The easiest way to turn listening on and off, however, is to press the Windows key with the Ctrl key held down.
And with that, you're in business!
Not a bad first attempt! To accept what your computer recognised, click on the Insert button.
You can test out speech recognition by issuing commands, such as Open Excel. Time now to integrate speech recognition with VBA!
Parts of this blog |
---|
|
Some other pages relevant to the above blogs include:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.