Skip to content

Easy way to find VBE7.dll 🔍  #16

@Indigo744

Description

@Indigo744

I had trouble to identify the VBE7.dll to modify in order to make it works and I want to share an approach to help you find it.

The simplest way is to start an Office product (Excel, Access, ...) and open the Visual Basic Editor.
Then you can list the loaded modules and find which VBE7.dll is actually loaded.

Listing the modules can be done with ProcessExplorer or SystemInformer.
image

Or you can use a simple Powershell line to find it:

((Get-Process -Module -ErrorAction Ignore) | Where-Object { $_.ModuleName -eq "VBE7.dll" }).FileName

However, with this approach you have to be careful regarding the bitness of Powershell vs. Office vs. Windows.
On Windows 64-bit (x64), with Office 32-bit (x86), you'll need to start the Powershell 32-bit (x86) otherwise it will not list the 32-bit loaded modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions