• How does one load/unload a COM AddIn via code (Excel 2000/Excel 2002)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » How does one load/unload a COM AddIn via code (Excel 2000/Excel 2002)

    Author
    Topic
    #380685

    How does one load and unload an Excel COM AddIn via code such as VBA, as we do not wish to have the COM addin loading on startup of every Excel application?

    Viewing 1 reply thread
    Author
    Replies
    • #639619

      hello Jim

      Wow this question has gone on for so long unanswered, that means people here did not see it, or don’t know the real answer YET!!!

      But I found this MSDN article for you, check it out and let me know if it helps.

      Check the section on Choosing Development Tools where it says:

      <<>>

      The Load behavior settings include Load on Demand and Load at Next Startup Only, so maybe this is the area you want to look into.

      HTH

      Wassim

      • #639824

        Thanks! Yea I know about the MSN article and the Designer interface where you select how the COM Addin is loaded but that is as far as the dicussion goes as there is no example of how to load in on demand other than via a toolbar or menu item. Even then responding to the toolbar or menu load event there is no explanation of how the COM Addin is loaded via code. The reason we want to load on demand is becuase if a COM AddIn is set to load on startup then that COM AddIn is loaded for every Excel started application, even for applications where one would not desire that COM AddIn to be loaded.

    • #639757
    Viewing 1 reply thread
    Reply To: How does one load/unload a COM AddIn via code (Excel 2000/Excel 2002)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: