Restoring Excel 2002's task pane at startup!
By default, Excel 2002 displays the New Workbook task pane when you launch it. This task pane lets you quickly access recently opened files or create a new workbook file. However, you may find that the task pane mysteriously stops appearing when you launch Excel--particularly if you followed our recent tip regarding Excel's Personal Macro Workbook.
The first thing to check if Excel's startup task pane doesn't appear is that it's actually configured to show when you launch Excel. To do so, select Tools | Options from the menu bar and click on the View tab. Ensure that the Startup Task Pane check box is selected and click OK.
If the Startup Task Pane check box is already selected, it probably means that the Personal Macro Workbook is preventing the task pane from being displayed. By design, Excel hides the task pane if a workbook is opened at the same time that Excel is launched. For example, if you double-click on a workbook file icon, Excel assumes you already have what you need to start working and doesn't bother to display the New Workbook task pane. When you set up a Personal Macro Workbook, Excel launches a file named PERSONAL.XLS, even though the file is hidden from view.
Most likely, you don't want Excel to treat the workbook that stores your macros the same as a typical workbook--and losing the easy access to the New Workbook task pane effectively eliminates the productivity benefit that this highly touted feature is meant to supply. You can re-display the task pane by choosing View | Task Pane from the menu bar, but a more efficient solution is to add a simple VBA procedure to your PERSONAL.XLS file that ensures the task pane is displayed.
To add the code, choose Tools | Macro | Visual Basic Editor from the menu bar. In the Project Explorer, expand the PERSONAL.XLS node and double-click on the ThisWorkbook icon. Then, select Workbook from the Object dropdown list. By default, a skeleton procedure for the workbook's Open event should be created. At the insertion point, add the following statements:
On Error Resume Next
Application.CommandBars("Task Pane").Visible = True
Then, close the VBE. When you exit Excel, be sure to click Yes when prompted to save changes to your Personal Macro Workbook file. From now on, the task pane will be displayed when you launch Excel (although it will still be hidden if you launch Excel by double-clicking on an existing workbook icon).
Visit
Our Windows XP Database Full Of Tips!