Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Part of a worksheet is missing when you run a VBA macro that uses the ScreenUpdating property to unhide a worksheet after you close the Document Recovery task pane in Excel 2002


View products that this article applies to.

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 (http://support.microsoft.com/kb/256986/ ) Description of the Microsoft Windows registry

↑ Back to the top


Symptoms

Consider the following scenario. You open a Microsoft Excel 2002 workbook that causes the Document Recovery task pane to open. Then, you close the Document Recovery task pane. If you then run a Microsoft Visual Basic for Applications (VBA) macro that uses the ScreenUpdating property to unhide a worksheet programmatically, the screen may not be updated correctly. Additionally, part of the worksheet is missing.

Note The part of the worksheet that is missing may appear as gray shading that has the same size and location as the Document Recovery task pane.

↑ Back to the top


Resolution

How to obtain the hotfix

This issue is fixed in the Excel 2002 post-Service Pack 3 Hotfix Package that is dated September 6, 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
905207� Description of Excel 2002 post-Service Pack 3 hotfix package: September 6, 2005


Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To enable this hotfix, follow these steps:
  1. Quit Excel 2002.
  2. Click Start, click Run, type regedit, and then click OK.
  3. Locate and then click the following registry subkey:
    HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\11.0\Options
  4. After you select the subkey that is specified in step 3, point to New on the Edit menu, and then click DWORD Value.
  5. Type DisableToolbarRedrawToggle, and then press ENTER.
  6. Right-click DisableToolbarRedrawToggle, and then click Modify.
  7. In the Value data box, type 1, and then click OK.
  8. On the File menu, click Exit to quit Registry Editor.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: KB905208, kbpubtypekc, kbfix, kbbug, kbhotfixserver, kbqfe, kbautomation, kbprogramming, kbvba, kbofficexppostsp3fix

↑ Back to the top

Article Info
Article ID : 905208
Revision : 6
Created on : 7/25/2006
Published on : 7/25/2006
Exists online : False
Views : 239