Microsoft KB Archive/826837

= Task pane disappears when you start Excel =

Article ID: 826837

Article Last Modified on 2/5/2007

-

APPLIES TO


 * Microsoft Office Excel 2003
 * Microsoft Excel 2002 Standard Edition

-



SYMPTOMS
When you start Excel 2003, the task pane may flash one time and then disappear.



CAUSE
This behavior occurs when the following conditions are true:
 * The Show at startup check box is selected in the task pane.
 * Excel opens one or more files automatically when it starts, including the Personal.xls file and any custom add-ins.

By default, Excel loads files from the following folders on your hard disk at startup (where  is your user name):
 * Excel 2002- C:\Program Files\Microsoft Office\Office10\Xlstart
 * Excel 2003- C:\Program Files\Microsoft Office\Office11\Xlstart
 * C:\Documents and Settings\ \Application Data\Microsoft\Excel\Xlstart.
 * The folder that is specified in the At startup, open all files in box (on the General tab of the Options dialog box).



RESOLUTION
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.</li> Start Excel.</li> On the Tools menu, point to Macro, and then click Visual Basic Editor.</li> In the Project Explorer window, expand VBAProject (PERSONAL.XLS).

Note If the Project Explorer is not visible, click Project Explorer on the View menu.</li> Expand Microsoft Excel Objects.</li> Double-click This Workbook.</li>  In the code window that opens, type the following code: Private Sub Workbook_Open

On Error Resume Next

Application.CommandBars(&quot;Task Pane&quot;).Visible = True

End Sub </li> On the File menu, click Save Personal.xls.</li> On the File menu, click Close and Return to Microsoft Excel.</li> Quit Excel.</li></ol>

<div class="status_section">

STATUS
This behavior is by design.

Additional query words: office excel error task pane disappears

Keywords: kbprb KB826837

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.