04-27-2009, 08:18 PM
Excel has 1 main window and a hidden window for each workbook. When act is used to activate a currently inactive workbook, it finds the hidden window, tries to activate it, and ultimately gives error because Excel does not allow to activate the hidden window. Excel instead activates the main window and displays the workbook in it.
To activate Excel workbooks, use code like this:
Macro
To activate Excel workbooks, use code like this:
Macro
