ID: Q184093
The information in this article applies to:
If you create an Open event macro for your workbook, and if the macro contains code to activate a worksheet, the macro is run but the worksheet may not be activated.
The Open event macro may not activate a worksheet if both of the following conditions are true:
-and-
To resolve this problem, do either of the following:
-or-
http://www.microsoft.com/supportnet/refguide/
For example, if the Open event macro is the following
Private Sub Workbook_Open()
Sheet2.Activate
End Sub
use the following macro code (on a general module) instead:
Sub Auto_Open()
Sheet2.Activate
End Sub
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
For more information about the Open Event, click the Office Assistant in the Visual Basic Editor, type "open event," click Search, and then click to view "Open Event."
NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Microsoft Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q179216
TITLE : OFF98: How to Use the Microsoft Office Installer Program
Additional query words: XL98
Keywords : kbdta kbdtacode xlvbahowto xlvbainfo OffVBA
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbbug
Last Reviewed: May 18, 1999