Custom Add-In causes Excel to crash on load

pizzaboy

Board Regular
Joined
Mar 23, 2015
Messages
56
Office Version
  1. 2019
Platform
  1. Windows
I extracted some code from my project and created an Excel Add-In with it. The project now references the Add-In and everything seems to work fine, however if I completely close down Excel and try to open the project directly, Excel crashes.

If I open some other Excel file or create a Blank Workbook AND make sure the Add-In is opened first, the project loads as it should. Is this a Trust Center issue?

Used the troubleshooter from Microsoft https://support.microsoft.com/en-hk...crashing-and-not-responding-issues-with-excel and got an "Emerging Issue 6619", which apparently resolved the problem, but obviously not...


Having an absolute nightmare with this... any help would be greatly appreciated.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Managed to resolve the problem.

In "Excel Options", I manually added the Add-In via the "Add-Ins" Menu.

I think this is a Trust Center issue with permissions to run macros. Strange because the location of my add-in has been added to the Trust Center locations - not sure if its because the add-in isn't stored at the default Excel Add-Ins folder.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,217
Members
452,619
Latest member
Shiv1198

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top