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

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.

Here's what fixed the issue for me.
Steps:
Start > type 'regedit'
Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins
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.
Close registry and reopen it to make sure that value has not changed.
Now restart excel.

Tried and Tested on MS Excel 365 Version 1908 (Build 11929.20838 Click-to-Run)
I too had faced this issue after my organization updated my MS Office suite.
I created a custom ribbon for my addin and that was activating on excel startup.
So, I added my Addins folder to trusted paths:
Options-->Trust Center-->Trust Center Settings
Under the Trusted Locations, Just add the folder path where the addin is located.
Hope this works for your version of Excel application.

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

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

Related

Handle loading state of Excel AddIn or preload AddIn on insert

I'm developing an Excel AddIn and faced one issue.
1st issue: When user inserts the AddIn to the Excel (web) - user needs
to click any ribbon command to start loading plugin files.
2nd issue:
When plugin already inserted, the files are being downloaded.
However, if user click any command before files downloaded, nothing
happens.
I can disable all commands and enable them when source code downloaded. BUT this not works when user inserts AddIn for the first time. He MUST click any command to start downloading source code.
Question: is there any solution to force load Excel AddIn source on initial insertion?
P.S.
Startup behavior works only for the next opening of AddIn. If manifest has something similar - would be nice to know.
Env: Excel (on the web), OfficeJS API, Shared runtime, windows (if it's matter)
P.P.S. The problem - user clicks on enabled button to open taskpane, but nothing happens (the downloading just started).

Can an Excel add-in toolbar (.xlam) be deployed via Office 365?

I have a .xlam add-in which gives users an additional ribbon in Excel with several macros.
In the past, I have distributed these sorts of add-ins by saving the file to a saved network location, and asking the users to follow 5/6 simple steps to install (Excel > Options > Add-ins > Find the file and select OK). This also means that to update the toolbar across all users, I just need to overwrite the one file and everybody will then see the new version.
However, for the business I actually work for, many of our users are regularly at client sites, with no access to our own network - so the approach of saving the file to the network (as above) won't work.
I had heard that Add-ins could be rolled out via Office 365 admin center 'centralised deployment', however am I right in thinking this is for a different type of 'add-in'?
If so, are there any other approaches I can take to roll out a .xlam add-in to multiple users via the Cloud?
Thanks in advance!
Deployment by Office 365 Admin center is only for Web Add-in, the new generation, so your add-in in .xlam could not be deploy like that.
To deploy to many user you can do it by share network like you did, or by tool like SCCM to deploy more easily to lot of user
For info, I managed to solve this by saving the .xlam file into a Shared OneDrive folder, and instructing the users to install it from this location.
This allows me to update the .xlam file on OneDrive with new versions, and this will then automatically sync onto the users machines, meaning the toolbar is always up to date.

Excel Macro not showing as add-in

I have been working with this excel macro since April 23rd. Recently it has stopped showing up even though it is showing installed. Any ideas?
What I have already tried:
I have checked the trust center to add the folder I have the macro stored in but it is currently stored on an internal network drive that can not be added to the trust center.
I have also moved the macro to the default directory for Macros. It still will not load in.
When I just drag the macro .xla file into Excel it will pick it up and start showing in the VBA IDE, but only if the file I drag in is stored on the default directory.
Excel Macros installed:
Excel Options
Add-ins
Excel VBA IDE not showing the macros as well as not showing in the ribbon:
Add-ins tab not showing add-ins
Missing from VBA IDE
I am not certain if this applies to your case, but this is what worked for me with the following set up:
- Using Windows
- Add-in stored on the network drive
My problem was that after I installed an add-in it would show up (both IDE and as a custom ribbon), but after I closed Excel and reopened it the add-in would fail to load (no ribbon, no IDE).
First step to fix this is to add a trusted location in Excel settings:
Trust Center -> Trusted Locations
You may need to select [Allow Trusted Locations on my network] before adding a location.
You can add just one folder, or, if it is appropriate, you can even add the whole network drive.
You may want to select [Subfolders in this location are also trusted]
The second step was far from obvious to me. I also needed to add network folder as a trusted location in Internet Explorer of all things:
Settings -> Internet Options -> Security -> Intranet -> Sites -> Advanced
Then you need to add the folder path to the network folder that contains the add-in.
After completing both steps and reopening Excel add-ins in the network folder started to appear both in IDE and as a custom ribbon. These two steps were necessary part of installation for every user.
If you are using multiple add-ins you may want to consider using one network folder for them. You can also take a look at this question about network add-ins to see how they can be distributed in a more convenient fashion (one of the answers there is mine).

Sideload Office Add-ins on Mac for testing

I am currently having trouble adding a personal add-in onto excel.
Following this documentation:
https://dev.office.com/docs/add-ins/testing/sideload-an-office-add-in-on-ipad-and-mac
Under the section "Sideload an add-in on Office for Mac", I create the wef file like it says, however my add-in did not get loaded.
Where can I add my manifest xml file to see that add-in appear in excel?
We had similar issues on a Mac running High Sierra ver 10.13.1.
This path was used to save the manifest file. Create missing folders. Just substitute your account name for <user-account>
/Users/<user-account>/Library/Containers/com.microsoft.Excel/Data/documents/wef
Restart Excel and choose Insert and select Add-ins and select the down arrow to select the add-in.
Hope this helps.

Solution for Deploying & Updating Document Level VSTO Addin Including the Document

Do any of you have advice on methods for deploying an office VSTO addin, especially Excel, that makes it easy to update and deploy the document as well as the addin.
I have a document level addin for Excel 2010 that I created using VSTO. I currently deploy it using click once. However, this has a few problems. The first problem is that I publish it to ftp then users install it from my website. Since the document and addin are downloaded from the internet, I obviously have trouble getting proper permission for the addin to run and the document to be trusted. Currently I just have users manually adjust permissions and grant access when the solution is installed. That part works and is fine, but if any of you have suggestions on how to automate this that would be great.
The second problem, the main one I am wanting help with in this post, is deploying updates. I generally like using clickonce because of its ease of installation and automatic update features. The solutions I develop are used in rapidly growing fast changing companies, which means I am often making updates. Click once makes it easy enough to update the "code" or addin itself. I just have it automatically check for updates when it is started, and if there are updates it will prompt the user to download them. But what about the document? My solution doesn't only include the code. It also includes the highly customized Excel workbook.
When the solution is initially installed a copy of the workbook is just downloaded to the local computer. But what about after it is deployed to dozens of computers? Does a document level change (adding a column for example) mean going to each computer and downloading the updated workbook manually?
Surely there is a better way to automatically deploy updated versions of the workbook. Any suggestions?
Here are a few ideas I thought of:
Use some installer other than clickonce. Any suggestion on one that allows easy automatic updates?
Somehow package the workbook as an application resource. I have actually done this in some situations, but not in cases where the document itself included a VSTO addin.
Related to the previous idea. Make a "wrapper" project that includes the workbook & VSTO addin. Then the addin would be launched by clicking on a regular icon on the desktop, which would download the workbook (if an update was needed) then open it in Excel. I would prefer that method of launch over simply opening the workbook anyway.
Note: No user data needs to be preserved in the Workbook when an update is done. The old version could simply be overwritten by the new one. The workbook gets all its data from an SQL server.
You could use a Visual Studio Setup Project which leverages Windows Installer. See this deployment walkthrough guide on using VSTO 4.0.
In Visual Studio 2012, support for Setup Projects is being deprecated in favor of InstallShield LE which is another alternative.

Resources