Excel COM add is not loading during startup and have to add it manually

為{幸葍}努か 提交于 2020-04-11 08:07:28

问题


Excel COM addin is not loading during starting up and each time I have to add it manually. After checking the File > OPtions > Add-ins > Manage -> COM addins, I see that the 'add in' is in 'Unloaded' state. Not sure how to make it automatically load at startup.


回答1:


Here's what fixed the issue for me.

Steps:

  1. Start > type 'regedit'

  2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins

  3. Then change the value of loadBehaviour to 3 for HyperionComAddin. As shown below. Just to clarify, this is the add-in that was not loading during start up for me. Picture in the question is to give an example.

  4. Close registry and reopen it to make sure that value has not changed.

  5. Now restart excel.




回答2:


This also works for Microsoft Dynamics Excel Add In (VSTO). Upon doing above and change loading behaviour 0 to 3, closing Reg Edit, re open EXCEL, the Dynamics Add In is up, showing Dynamics TAB




回答3:


It's also worth adding that the add-in has to be a trusted document or be located in a trust



来源:https://stackoverflow.com/questions/48191685/excel-com-add-is-not-loading-during-startup-and-have-to-add-it-manually

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!