0
i made a class library in visual studio 2019 using the . NET framework which is registered for COM interoperability and generates a file (.tlb). It was programmed in VB.NET and has a simple class with a simple method (class calculate, Soma method):
It was possible to include the tlb file as reference in the VBA where I have a code that uses methods of this class to give action to a button:
However, when executing the error happens:
When I click on debug it points to the class instance:
While consulting Stack I found other people with the same problem but no solution:
https://stackoverflow.com/questions/62239548/vba-selenium-class-not-registered-80040154
I have already performed a repair in my office coming to uninstall to install again, could help me to solve this error that prevents the execution of my library in excel VBA?
It is necessary to use 'calculator' to find the obj 'calculate' since this file has already been put as reference?
– Gabriel Hardoim
In one of the attempts I removed the 'calculator' leaving so: Dim objCalc As calculate/ Set objCalc = New calculate but the error remained ...
– DeSanterra