Trace Id is missing

Maximise the everyday with Microsoft 365

Get online protection, secure cloud storage and innovative apps designed to fit your needs – all in one plan.
A young woman works on a Surface laptop while Microsoft 365 App icons whirl around her head.

Microsoft® Visual Basic® for Applications Update - Q822150

An identified security issue in Microsoft® Visual Basic® for Applications could allow an attacker to compromise a Microsoft Windows®-based system and then take a variety of actions. By installing this update, you can help protect your computer.

Important! Selecting a language below will dynamically change the complete page content to that language.

Download
  • Version:

    6.4

    Date Published:

    23/3/2021

    File Name:

    vba64-kb822150-x86-enu.exe

    File Size:

    1.6 MB

    KB Articles:

    KB822150

    An identified security issue in Microsoft® Visual Basic® for Applications could allow an attacker to compromise a Microsoft Windows®-based system and then take a variety of actions. For example, an attacker could read files on your computer or run programs on it. By installing this update, you can help protect your computer.
  • Supported Operating Systems

    Windows XP, Windows 2000, Windows ME, Windows NT, Windows Server 2003


  • The update available from this page is for applications using Microsoft® Visual Basic® for Applications (VBA). If you are a Microsoft Office 2000 or Microsoft Office XP user, please obtain a patch for this issue from the Office Update site in addition to installing this patch. You will find a link to OfficeUpdate under the Related Resources links at the right of this page.

    It is possible to have both VBA version 5 and VBA version 6 installed at the same time. Follow all of the steps below to determine which version(s) of VBA is on your machine:

    1. Open the Windows Explorer

    2. Navigate to the \Program Files\Common Files\Microsoft Shared\VBA directory

    3. If you see vbe.dll you have VBA version 5. Right click on vbe.dll and choose "Properties"

    4. Choose the "Version" tab


    The version will be the first line of information. For example, after this patch is installed the version of vbe.dll will be 5.0.78.15.

    Next, navigate to the \Program Files\Common Files\Microsoft Shared\VBA\VBA6 directory, if present.
    1. If the directory is present you also have VBA version 6 installed. Right click on vbe6.dll and choose "Properties"

    2. Choose the "Version" tab


    The version will be the first line of information. For example, after this patch is installed the version of vbe6.dll will be 6.4.99.69.

    To download and install this patch:
    1. Click the Download link to start the download, or choose a different language from the drop-down list and click Go.
    2. Do one of the following:
      • To start the installation immediately, click Open or Run this program from its current location.
      • To copy the download to your computer for installation at a later time, click Save or Save this program to disk.


    Running this installer once will patch both VBA5 (vbe.dll) and VBA6 (vbe6.dll) if they are found on your machine.
  • To determine if the patch has been applied successfully, follow the the process described above to verify the versions of vbe.dll and/or vbe6.dll.

Follow Microsoft