rhinoman42
New Member
- Joined
- Jun 7, 2017
- Messages
- 4
Hello,
(I have posted this in Microsoft TechNet as well, but have not found a solution yet)
I have a VBA Add-In I've been using on Excel 2010 for quite some time and have an issue whereby for new users on Excel 2016 the Add-In does not load. I believe I've narrowed the problem down the the two KB updates KB3178673 and KB3178719 which I believe were designed to prevent malicious code from executing. If I back out those updates the problem goes away. However, I do not want to disable those updates permanently so I'm stuck.
In Trust Centre settings I have made the Add-In location a Trusted Location and have enabled all macros in Trust Centre settings (to trouble-shoot the problem) but still no luck.
The Add-In shows up in the Add-Ins list (in Options) but is not loaded (I can confirm that as it is missing from the VBA IDE). Oddly, if I manually unload/reload the Add-In it works, but the next time I restart Excel it does not load again.
Further (and this may be a different issue), when I successfully load the Add-In (manually), it is set to create an Add-In CommandBar on the Ribbon, but it does not. However, if I manually run the routine that creates that CommandBar, it is created successfully. If I step through the process (in debug mode) when the Add-In is loaded I can see that the CommandBar is being created, but as soon as the last line of startup code has been executed the CommandBar disappears again.
I have searched extensively through various forums for weeks now and cannot find an answer. Any help would be greatly appreciated.
Ryan
(I have posted this in Microsoft TechNet as well, but have not found a solution yet)
I have a VBA Add-In I've been using on Excel 2010 for quite some time and have an issue whereby for new users on Excel 2016 the Add-In does not load. I believe I've narrowed the problem down the the two KB updates KB3178673 and KB3178719 which I believe were designed to prevent malicious code from executing. If I back out those updates the problem goes away. However, I do not want to disable those updates permanently so I'm stuck.
In Trust Centre settings I have made the Add-In location a Trusted Location and have enabled all macros in Trust Centre settings (to trouble-shoot the problem) but still no luck.
The Add-In shows up in the Add-Ins list (in Options) but is not loaded (I can confirm that as it is missing from the VBA IDE). Oddly, if I manually unload/reload the Add-In it works, but the next time I restart Excel it does not load again.
Further (and this may be a different issue), when I successfully load the Add-In (manually), it is set to create an Add-In CommandBar on the Ribbon, but it does not. However, if I manually run the routine that creates that CommandBar, it is created successfully. If I step through the process (in debug mode) when the Add-In is loaded I can see that the CommandBar is being created, but as soon as the last line of startup code has been executed the CommandBar disappears again.
I have searched extensively through various forums for weeks now and cannot find an answer. Any help would be greatly appreciated.
Ryan