To prevent this behavior from occurring, do not load files
at startup.
For more information about how to prevent files from loading at
startup, click the following article number to view the article in the Microsoft Knowledge Base:
826922
How to prevent files from opening automatically in Excel 2003 and in Excel 2002
To view the task pane after it disappears, click
Task Pane on the
View menu.
To work
around this problem and allow the task pane to remain visible at startup,
follow these steps.
Note If you already created a Personal.xls workbook, go to step 8.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
- Start Excel.
- On the Tools menu, point to
Macro, and then click Record New Macro.
- In the Record Macro dialog box, click
Personal Macro Workbook in the Store macro in
list.
- Click OK.
- On the Stop Recording toolbar, click the
Stop button.
- On the File menu, click
Exit.
- When you are prompted to save changes that were made to
your Personal Macro Workbook, click Yes.
- Start Excel.
- On the Tools menu, point to
Macro, and then click Visual Basic Editor.
- In the Project Explorer window, expand VBAProject
(PERSONAL.XLS).
Note If the Project Explorer is not visible, click Project
Explorer on the View menu. - Expand Microsoft Excel Objects.
- Double-click This Workbook.
- In the code window that opens, type the following code:
Private Sub Workbook_Open()
On Error Resume Next
Application.CommandBars("Task Pane").Visible = True
End Sub
- On the File menu, click Save
Personal.xls.
- On the File menu, click Close and
Return to Microsoft Excel.
- Quit Excel.