سؤال

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?

هل كانت مفيدة؟

المحلول

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
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top