Microsoft VBE interop version 16

Bhavya Bhatt 0 Reputation points
2025-04-28T15:52:30.5733333+00:00

I got to know that Microsoft.Office.Interop package is renamed to MSOffice.Interop for version 16 office applications.

I am trying to read macros from excel file and see that I would need Microsoft.Vbe.Interop but it's latest version is 15 which results in build failure with MSOffice.Interop 16. Is there a newer version of Vbe interop or any other way to do it ?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,431 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.