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

Article translations Article translations
Article ID: 318474 - View products that this article applies to.
This article was previously published under Q318474
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

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:
  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:=xlRangeAutoFormatClassic2
    End 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.

Properties

Article ID: 318474 - Last Review: October 24, 2013 - Revision: 3.3
APPLIES TO
  • Microsoft Excel 2000 Standard Edition
Keywords: 
kbnosurvey kbarchive kbbug kbdtacode kboffice2000presp3fix kboffice2000sp3fix kbpending KB318474

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com