The error shows that Microdoft.Vbe.Interop
is missing. So I tried to add ExcelDna.Interop
, which contains Microdoft.Vbe.Interop
. You could try to see if it matches your program.
And then the error disappeared.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our [documentation][3] to enable e-mail notifications if you want to receive the related email notification for this thread.
[3]: https://learn.microsoft.com/en-us/answers/articles/67444/email-notifications.html