Excel - Excel Tutorial: Auto-Announce Quota Status with Text-to-Speech - Episode 848

Опубликовано: 08 Январь 2009
на канале: MrExcel.com
267
3

Microsoft Excel Tutorial: Auto-Announce Quota Status with Text-to-Speech.

Welcome back to the MrExcel netcast, where we provide helpful tips and tricks for using Excel. In this episode, we will be discussing the text-to-speech feature and how to use it in conjunction with macros to automatically speak a message when someone opens a workbook. This is a great question that was brought up during one of my seminars, and I'm excited to share the solution with all of you.

First, we will switch over to the VBA editor with Alt+F11. Unlike most macros that are stored in modules, this macro will be stored in the workbook itself. So, we will find the workbook in the VBAProject and double-click to access the code. In the left drop-down, we will choose Workbook and then select Open from the right drop-down menu. This will allow us to specify the action we want to occur when the workbook is opened.

Next, we will take a look at the cell that we want to use for our message. In this case, the cell has been named 'Status'. Using the If statement, we will check the value of this cell and determine whether it is positive or negative. If it is positive, we will use the Application.Speech.Speak function to have Excel say "You are currently meeting quota". If it is negative, we will have it say "You're currently below quota". This will provide a helpful reminder to the user as they open the workbook.

Now, every time the workbook is opened, the macro will run and the appropriate message will be spoken. This is a great tool for providing important information to the user without them having to manually check the cell. Thank you for watching this episode of the MrExcel netcast, and be sure to tune in next time for more helpful tips and tricks. Don't forget to like and subscribe for more Excel content. See you next time!

Buy Bill Jelen's latest Excel book: https://www.mrexcel.com/products/latest/

You can help my channel by clicking Like or commenting below: https://www.mrexcel.com/like-mrexcel-...


Can Excel announce a status when someone opens the workbook? This macro will let someone know if they are over or under quota. Episode 848 shows you how.

Table of Contents:
(00:00) Introduction to the topic
(00:11) Question about using text-to-speech feature in Excel
(00:21) Using a Macro to automatically say something when workbook is opened
(00:33) Using the Range name 'Status' to determine what is said
(00:47) Setting up the code in the VBAProject
(01:00) Using the Open event to trigger the Macro
(01:43) Demonstration of the Macro in action
(02:14) Clicking Like really helps the algorithm

#excel #microsoft #microsoftexcel #exceltutorial #exceltips #exceltricks #excelmvp #freeclass #freecourse #freeclasses #excelclasses #microsoftmvp #walkthrough #evergreen #spreadsheetskills #analytics #analysis #dataanalysis #dataanalytics #mrexcel #spreadsheets #spreadsheet #excelhelp #accounting #tutorial

This video answers these common search terms:
Application.Speech.Speak
Below quota
Excel speaking feature
If statement in VBA
Macro to say something in a workbook
Meeting quota
MrExcel netcast
Opening a workbook
Range name 'Status'
Text-to-speech feature
VBA editor
Workbook events

Join the MrExcel Message Board discussion about this video at https://www.mrexcel.com/board/threads...


Смотрите видео Excel - Excel Tutorial: Auto-Announce Quota Status with Text-to-Speech - Episode 848 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь MrExcel.com 08 Январь 2009, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 267 раз и оно понравилось 3 людям.