|
Excel Dashboards
Books at Amazon.com |
Visual Basic Scripting (VBS)
VBS is a watered down version of VB/VBA that can run stand-alone on a machine with Windows Scripting Host installed. It must be hard to find a computer without WSH nowadays, because the last few versions of IE and Windows install WSH by default. I don't use a lot of these scripts, but the examples below show how handy they can be. The examples are virtually identical, sorry for the repetition, but I just copied the scripts from my own hard drive. XLcheckThis script tells you if Excel is running, and makes the first instance it finds visible. Copy this code into a text file, and save it in a convenient folder or on your desktop with a name like 'XLcheck.vbs'. When you think you've left an invisible instance of Excel running, run this (by double clicking) to make it visible, so you can deal with it.
WDcheckThis script tells you if Word is running, and makes the first instance it finds visible. Copy this code into a text file, and save it in a convenient folder or on your desktop with a name like 'WDcheck.vbs'. When you think you've left an invisible instance of Word running, run this (by double clicking) to make it visible, so you can deal with it.
PPTcheckThis script tells you if PowerPoint is running, and makes the first instance it finds visible. Copy this code into a text file, and save it in a convenient folder or on your desktop with a name like 'PPTcheck.vbs'. When you think you've left an invisible instance of PowerPoint running, run this (by double clicking) to make it visible, so you can deal with it.
|
Peltier Technical Services, Inc.Excel Chart Add-Ins | Training | Charts and Tutorials | PTS BlogPeltier Technical Services, Inc., Copyright © 2012. All rights reserved. |