I am using Excel 2000 running on Windows 2000 Professional.
I have some code in a workbook activate event that needs to run every time the event is fired. This works fine with multiple workbooks in memory using the Windows menu option in Excel to move between workbooks. The problem is that it does not work when a workbook is selected from the taskbar or when using 'Alt' 'Tab' with the 'Windows in Taskbar' feature enabled. The deactivate event occurs when another workbook is selected, but the activate event appears to be disabled when returning to the workbook with the code in it.
Has anybody got any ideas?
I have some code in a workbook activate event that needs to run every time the event is fired. This works fine with multiple workbooks in memory using the Windows menu option in Excel to move between workbooks. The problem is that it does not work when a workbook is selected from the taskbar or when using 'Alt' 'Tab' with the 'Windows in Taskbar' feature enabled. The deactivate event occurs when another workbook is selected, but the activate event appears to be disabled when returning to the workbook with the code in it.
Has anybody got any ideas?