Rubberduck icon indicating copy to clipboard operation
Rubberduck copied to clipboard

Error when access to edit any module in Excel VBA ide

Open aitorsol opened this issue 4 years ago • 2 comments

Rubberduck version information The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:

Version 2.5.2.5906 OS: Microsoft Windows NT 10.0.19043.0, x64 Producto de host: Microsoft Office x64 Versión de host: 16.0.14026.20246 Ejecutable del host: EXCEL.EXE

Description Cannot convert an object of type 'VBClassicExtensibility.VBProjectClass' to type 'Microsoft.Vbe.Interop._VBProject'

To Reproduce Steps to reproduce the behavior:

  1. Go to any module in the VBE
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Logfile Rubberduck generates extensive logging in TRACE-Level. If no log was created at %APPDATA%\Rubberduck\Logs, check your settings. Include this log for bug reports about the behavior of Rubberduck.

Additional context Add any other context about the problem here. rubberduck-error

aitorsol avatar Jul 25 '21 23:07 aitorsol

Do you have any other VBE addins installed? This issue looks similar to old issues caused by other addins that load a custom version of the VBA interop library that is not compatible with Rubberduck.

MDoerner avatar Jul 26 '21 06:07 MDoerner

the incompatibility with the non-standard interop library might be solvable with a future version of .Net. The only other practical option to achieve compatibility is probably to use a COM-shim, which will be obsolete in future version of .Net.

So, this is deferred for now.

MDoerner avatar Oct 01 '21 21:10 MDoerner