
Welcome toExcel2007.Tips.Net
Beauty Tips
ExcelTips
Gardening Tips
Word2007 Tips
Specifying the Number of MRU Files
Seeing How Excel Evaluates Formulas
Highlighting a Cell if It Contains Specific Text
Creating a List of Worksheet Formulas
It is possible to configure Excel so that a macro of your choosing is executed every time a particular worksheet is deactivated. What does that mean? Simply that a macro is run every time you click on a worksheet tab to leave the current sheet. All you need to do is follow these steps:
Remember that a macro defined in this way is run every time the worksheet is deactivated, not just the first time. Think about how you use Excel; if you spend a fair amount of time hopping between worksheets in a workbook or between workbooks, it is possible to deactivate a worksheet several dozen times during the course of a session.