Microsoft KB Archive/318474

= XL2000: AutoFormat Method Does Not Work with Macro Modification Security Patch =

Article ID: 318474

Article Last Modified on 10/10/2006

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition

-



This article was previously published under Q318474



SYMPTOMS
After you install the Macro Modification Security Update that is described in Microsoft Security Bulletin MS01-50, the AutoFormat method in Microsoft Visual Basic for Applications no longer works.



RESOLUTION
Reinstall the Macro Modification Security Update for Excel 2000 SR-1. This update was re-released on April 25, 2002 to fix this issue.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem is now corrected in the re-released update.



MORE INFORMATION
For additional information about the Macro Modification Security Update, click the article number below to view the article in the Microsoft Knowledge Base:

306604 XL2000: Excel 2000 SR-1 Macro Modification Security Update

To determine whether you are experiencing this issue, follow these steps:   Start Excel, and type the following values in the default, new workbook:   A1: Name     B1: Age A2: Mary    B2: 15 A3: Bob     B3: 18 A4: Ellen   B4: 22  On the Tools menu, point to Macro, and then click Visual Basic Editor. In the Visual Basic Editor, click Module on the Insert menu.  Type the following code, and then close the Visual Basic Editor: Sub FormatList Selection.AutoFormat Format:=xlRangeAutoFormatClassic2 End Sub  Select one of the cells in your list.</li> On the Tools menu, point to Macro, and then click Macros. Click the FormatList macro, and then click OK.

If your list format changes, this article does not apply to your system.</li></ol>

Additional query words: XL2000 patch

Keywords: kbbug kbdtacode kboffice2000presp3fix kboffice2000sp3fix kbpending KB318474

-

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

© Microsoft Corporation. All rights reserved.