Question

I am reading this tutorial and in the 4th paragraph opening line it says:

"From the VBA code, you can see that my add-in is registered as “ExcelAddinService”."

How do you check the registered name of the ComAddIn?

Était-ce utile?

La solution

The author knows that because he registered it under that name. You can find out all of your COM add-ins' registered names using the following:

Sub PrintAddinNames()
    Dim addin As COMAddIn
    For Each addin In Application.COMAddIns
        Debug.Print addin.progID
    Next
End Sub
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top