Do you know if this is possible to create a VSTO add-in for excel in an office 365 suite (on desktop, of course)?
Officially, it says it is supported.
But, if I create an empty project on VisualStudio with the default "Office 2013 & 2016 VSTO add-in", it does not load.
But, it works on other machines, with excel 2016.
Can you help me with this?
I already tried many things. And, it seems that the add-in does not even show in the list of COM add-ins in the setup menu. It's not disabled; and, if I look at the registry, the load behavior is 3.
The only strange thing that I found is that when I try to link manually the .dll file using the "add-in" menu, it says that the dll is not a valid excel add-in.
But, if I do it another way and click to the .vsto file, the explorer says that the add-in has been installed correctly..
Thanks a lot
Related
I know it looks a superficial question, but I really would like to know how to start developing addins for excel on Ipads. What should I download and how to install my addins into an iPad? I didn't find this on google...
I would like to introduce you the office JS add-in,
You can use the Office Add-ins platform to build solutions that extend Office applications and interact with content in Office documents. Your solution can run in Office across multiple platforms, including Windows, Mac, iPad, and in a browser.
I would recommend you to create an Office Add-in by using the Yeoman generator for Office Add-ins
You can refer to this document for sideloading your add-in solution in IPad
And debug your add-in on iPad can be found at here
We deployed Excel add-in project which was developed in Office Js in intranet. And manifest file uploaded in Office 365 admin center to reflect users. But it is working in Office online Excel version only. But in desktop version it is not getting refreshing and only showing old changes. Kindly help on this so that it can be upload with new changes to get reflect.
You can remove an add-in that you've previously sideloaded on Windows, Mac, or iOS by clearing the Office cache on your computer.
Additionally, if you make changes to your add-in's manifest (for example, update file names of icons or text of add-in commands), you should clear the Office cache and then re-sideload the add-in using updated manifest. Doing so will allow Office to render the add-in as it's described by the updated manifest.
To remove all sideloaded add-ins from Excel, Word, and PowerPoint, delete the contents of the folder:
%LOCALAPPDATA%\Microsoft\Office\16.0\Wef\
To remove a sideloaded add-in from Outlook, use the steps outlined in Sideload Outlook add-ins for testing to find the add-in in the Custom add-ins section of the dialog box that lists your installed add-ins. Choose the ellipsis (...) for the add-in and then choose Remove to remove that specific add-in. If this add-in removal doesn't work, then delete the contents of the Wef folder as noted previously for Excel, Word, and PowerPoint.
Additionally, to clear the Office cache on Windows 10 when the add-in is running in Microsoft Edge, you can use the Microsoft Edge DevTools.
Read more about that in the Clear the Office cache article.
Whether the Addin developed for MS Project 2003 will work in MS Project 2013?
Thanks in advance.
I can also confirm that COM Add Ins written for Project 2003 can work fine in Project 2007, 2010, 2013, and 2016. As noted above, the toolbar controls just move to the Add-Ins tab of the ribbon. If you launched from menu items as well as toolbar controls, those launch points will be lost, but you don't really need those if you have something on the ribbon.
All of this is predicated on using a subset of the COM Interop interface that is 'core', e.g. supported on all versions of MS Project. Microsoft tends to maintain these interfaces pretty well. They may add new stuff in later versions, but I've found that they generally don't drop the old interfaces. You will need to decide which version of the Primary Interop assemblies for building an application to be used across all these Project versions. I've seen advice that says you need to build a separate add-in binary for each version of MS Project, but I've never found a need to do that. You might be able to stick with the PIA from MS Project 2003, but I'd suggest you pick something like Project 2010 or Project 2013 Primary Interop Assemblies.
Hope this helps.
No, it won't.
There is a slim chance that the core code may run ok, but with the switch from the menu bar to the ribbon menu, any menu options presented by the 2003 plug in won't be presented as buttons on the ribbon in 2013, so I can say with certainty that part won't work.
I have an application that is developed using CommanBar tools. As there are much constraints in that, i have planned to shift to the Ribbon(view designer). I created a project like, File->New Project->Excel 2007->Excel Addin for 2010.
Created a sample addin and added a new project to the same solution as I wanted the addin to be added using installer(.msi). I registered the Com Addin in the Registry, but on uninstallation, the files are getting removed only in the registry entry, but not in the MS Excel, the addin still to be remained there. Please help me in this. As I am new to the implementation of Ribbon implementation.
I have used winform c# 4.0.
Thanks in advance.
#kiru - the screen shot for the path you mentioned
Check the path from where the addins are been loaded.
Open Excel
Click File => Options => Addins (Tab)
Select COM Add-ins in Manage dropdown box and click Go
Select the addin and you can see the path where it is been loaded.
If it is from bin directory then follow this
If you are running your msi on development pc clean your solution every time you test your msi.
Using Excel 2010 and TFS 2010. I've been using the "Team" tab in Excel for quite a while now (very useful!). Today, the "Refresh" took ages and I couldn't use Excel so I killed the process in Task Manager. I reopened Excel and the Team tab was missing. I added it back in File > Options > Add Ins > Manage COM Add Ins > Go > selected the Team Foundation Add-In and the Team tab is back. I can create/view lists etc. However, when I close and reopen Excel the Team tab is missing again.
How do I make the Team tab stay on the ribbon bar even when closing & reopening Excel?
For Excel 2013 x64 and Visual Studio 2012, I had to change HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins\TFCOfficeShim.Connect.4\LoadBehavior to 3 (Load at startup).
I had previously disabled the add-in via the Excel COM Add-Ins dialog box. This changed the add-in load behavior to "do not load automatically". Attempting to re-enable the add-in through the dialog box now only changes it to "load on demand", which is only good for one session of Excel. There is an issue logged in Connect for this. Changing the registry manually works around the bug.
By chance, I re-enabled it (after having to manually re-add the tab again).
Excel > File > Options > Add-Ins > Manage > Disabled Items > select items > click Enable.
As easy as that.
I have had that same issue with TFS 2010 Office Add-in and Excel. The reason was because there were two TFS Office add-ins, the first version was for a 64 bit machine, while the other was for a 32 bit machine. So I removed both versions, restarted excel, and re-added the 32 bit version of the TFS add-in. I have had no issues since.
EDIT: My local machine is running Windows 7 64 bit and Excel 2010.
I just ran into this myself. The registry setting looked okay, and there weren't any add-ins listed under Disabled Items.
I launched Excel as Administrator, deleted all instances of Team Foundation Add-in (I had 3), and then re-added the add-in. It was then correctly showing as "Load at Startup." I closed Excel and re-opened from my usual shortcut, and everything looked good.
There were a number of Excel restarts peppered into that process as I was very much guessing and checking, but I believe that it was the act of re-adding the add-in that ultimately resolved the issue for me.
I had to remove the extension (listed as "Unloaded") from COM Add-Ins list and then add it again.
Follow the instructions below to manually add it to Excel:
Navigate to Com Add-ins manager:
File > Options > Add-Ins > set "Manage:" to "COM Add-ins" > Go...
Add it again:
Add... > "C:\Program Files\Common Files\Microsoft Shared\Team Foundation Server\11.0\x86\TFSOfficeAdd-in.dll" > OK
Restart Excel: Confirm the "Team" tab appears on startup
This is a workaround that helps several people. This is not a fix but still has worth.
Launch Excel as Administrator. You do this by right clicking the Excel Icon, then right click the Excel mini-icon then click "Run as administrator".
This is not a fix and can be a hassle but for many with this issue it will provide the features you want. Hopefully Microsoft will come up with a permanent solution in the future.
With latest versions this problem can be solved by installing Azure DevOps Office® Integration 2019 from
https://visualstudio.microsoft.com/downloads/#other-family
If you don't see Team Foundation Add in you can use this method which saved a lot of time for me
it will appear like this , file --> options --> add ins