Microsoft KB Archive/281952

= OFFXP: Not Installing Visual Basic for Applications Results in Access Not Installing =

Article ID: 281952

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Office XP Professional Edition
 * Microsoft Office XP Small Business Edition
 * Microsoft Office XP Standard Edition
 * Microsoft Office XP Standard Edition for Students and Teachers
 * Microsoft Office XP Developer Edition
 * Microsoft Access 2002 Standard Edition
 * Microsoft Excel 2002 Standard Edition
 * Microsoft FrontPage 2002 Standard Edition
 * Microsoft Outlook 2002 Standard Edition
 * Microsoft PowerPoint 2002 Standard Edition
 * Microsoft Word 2002 Standard Edition

-



This article was previously published under Q281952



SYMPTOMS
When you install Microsoft Office, you may receive the following (or similar) error message:

You have chosen not to install Visual Basic for Applications. Microsoft Access requires Visual Basic for Applications and will be removed if you continue, and some Microsoft Office wizards and templates won't work properly. Do you want to continue?

Yes - Setup does not install Visual Basic for Applications or Access, and removes previous versions from your computer.

No - Setup returns to the previous page, where you can change installation options for Visual Basic for Applications and Access.



CAUSE
You may receive this error message if both of the following conditions are true:
 * You are installing one of the following:


 * Microsoft Office XP Professional
 * Microsoft Office XP Professional with FrontPage
 * You have set one of the following to Not Available:


 * Visual Basic for Applications
 * Office Shared Features



RESOLUTION
To resolve this behavior, ensure that at least Visual Basic for Applications is installed as part of the Office Shared Features.

To ensure that Visual Basic for Applications is installed, follow these steps:  Insert the Office Professional installation CD. Click Start, and then click Run. In the Run dialog box,, type :\setup in the Open box, where   is the letter of your CD-ROM drive. Click OK. Accept the license agreement, and then click Next. Do one of the following: <ul> Click Typical or Complete, and then click Next. Follow the instructions of the installation wizard.

-or-</li></ul>

<ol style="list-style-type: lower-alpha;"> Click Custom, and then click Next.</li> Click Choose detailed installation options for each application, and then click Next.</li> In the Office Feature tree, click the plus sign next to Office Shared Features.</li> Click the arrow next to Visual Basic for Applications.</li> On the shortcut menu, click Run from My Computer, or Run all from My Computer, or Installed of First Use.</li> Click Next, and then follow the instructions of the installation wizard.</li></ol> </li></ol>

<div class="workaround_section">

WORKAROUND
You can choose to install Microsoft Access (which needs Visual Basic for Applications support) and install the other Office XP programs without Visual Basic for Applications support. To do this, you can install Access 2002 as a separate installation. You will need to acquire the stand-alone version of Access 2002, and install it as a separate product.

When you install the stand-alone version of Access 2002, Visual Basic for Applications is automatically installed, but Visual Basic for Applications is not accessible with other Office programs.

<div class="moreinformation_section">

MORE INFORMATION
Microsoft Access requires Visual Basic for Applications to run. If Visual Basic for Applications is not installed, then the Office installation program automatically prevents Access from installing.

Additional query words: prb AC2002

Keywords: kbprb KB281952

-

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

© Microsoft Corporation. All rights reserved.