Domanda

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?

È stato utile?

Soluzione

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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top