557 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owls 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
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!
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|
25 Aytoun Street