The vbe6.dll module is associated with the Visual Basic Environment from Microsoft. In this article, we will discuss a common error that may occur if you use a corrupt vbe6.dll or a wrong version of this file.
When you try to start the Visual Basic Editor in Microsoft Word 2000 Second Edition, one or more of the following error messages may pop-up on your screen:
- ?Could not open macro storage.?
- ?The Visual Basic Environment could not be initialized. Please run Setup to install it correctly.?
- ?Word could not fire event.?
Cause of the Errors
Generally, these errors are generated due to the following reasons:
- Memory space or hard disk space is insufficient.
- Vbe6.dll on your computer is the wrong version, corrupt, or missing.
- Word default template (Normal. dot) file is damaged.
- There are some issues with Network permissions.
The scope of this article is limited to vbe6.dll. So, we are assuming that the errors listed above are occurring due to missing, corrupt, or incorrect versions of the vbe6.dll file.? To resolve these issues, follow the corrective steps listed below.
Rename and Reinstall Vbe6.dll
- Close all programs running on your PC and insert your Office CD in your CD-ROM.
- Next, open the Command Prompt window. Depending on your Windows Operating System, perform either of the listed steps:
- Windows 95 or Windows 98
Go to Start| Programs| MS-DOS Prompt
- Windows ME
Click Start | Programs | Accessories | MS-DOS Prompt
- Windows NT 4.0
Click Start | Programs | Command Prompt
- Windows 2000 or Windows XP
Click Start | Programs | Accessories | Command Prompt
- In the Command Prompt window, depending on your Windows operating system, change the directory to the location of the vbe6.dll file by typing either of the following commands and then press Enter.
CD "C:\Program Files\Common Files\Microsoft Shared\Vba\Vba6"
- Next, to unregister the Vbe6.dll file, depending on your Windows operating system, type the appropriate command (given below) in the Command Prompt window and then press Enter:
- Windows 95, Windows 98, or Windows ME
C:\Windows\System\REGSVR32 /U VBE6.DLL
- Windows NT 4.0, Windows 2000, or Windows XP
REGSVR32 /U VBE6.DLL
- Next, rename the Vbe6.dll to Vbe6.old by typing the following command at command prompt and pressing Enter.
rename vbe6.dll vbe6.old
- Next, type Exit and press Enter to close the Command Prompt window.
- Now, click Start | Programs | Microsoft Office | Microsoft Word to start MS Word.
- Next, in the Word document, click Tools, select Macro, and then click Macros.
The Windows Installer identifies that the vbe6.dll file is missing and installs the vbe6.dll file from your Office CD and registers the DLL.
Note: In the above steps, the C: drive is taken to be the drive on which Windows is installed. If you have installed Windows on some other drive, replace the letter C with the letter of the drive that points to the drive on which Windows is installed on your computer.
You may also encounter vbe6.dll errors due to malware infection. Malware programs, such as virus and worms are known to incorrectly modify the codes embedded in the DLL files, such as the vbe6.dll file, and cause recurring DLL errors.
To prevent vbe6.dll errors due to malware infection, install advanced antimalware tools, such as STOPzilla Antivirus and Spyware Cease and schedule regular malware scans on your system using your protective tools.