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

This article was previously published under Q318474
This article has been archived. It is offered "as is" and will no longer be updated.
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.
Reinstall the Macro Modification Security Update for Excel 2000 SR-1. This update was re-released on April 25, 2002 to fix this issue.
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.
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:
  1. 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					
  2. On the Tools menu, point to Macro, and then click Visual Basic Editor.
  3. In the Visual Basic Editor, click Module on the Insert menu.
  4. Type the following code, and then close the Visual Basic Editor:
    Sub FormatList()    Selection.AutoFormat Format:=xlRangeAutoFormatClassic2End Sub					
  5. Select one of the cells in your list.
  6. 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.
XL2000 patch

Article ID: 318474 - Last Review: 10/24/2013 10:03:19 - Revision: 3.3

Microsoft Excel 2000 Standard Edition

  • kbnosurvey kbarchive kbbug kbdtacode kboffice2000presp3fix kboffice2000sp3fix kbpending KB318474