Execute VB when Excel is Activated

K

Kyle

I'm looking for a way to have a short piece of VB code to
execute every time an Excel window becomes active. For
example, if the user looks at Outlook and then back to an
Excel spreadsheet, have the VB code execute. Then, if the
user looks at another application, then comes back to an
Excel spreadsheet (either the same one or a different
one), the code executes again, etc.

Any help would be greatly appreciated.

Thanks....Kyle
 
Top