The component Visual Basic for Applications was not installed during the installation of Office.
- Switch to the Windows Control Panel > Programs and Features.
- Select Microsoft Office.
- Click Change.
- Select Add or Remove Features. Click Continue.
- Click the Office Shared Features plus sign.
- Click the hard drive symbol next to Visual Basic for Applications.
- Select the option Run from My Computer. Click Continue.
- Continue through the assistant.