I have a VSTO Ribbon for Excel and an Office.js add-in. I found that whenever any of the VSTO ribbon commands set app.SreenEnabling = false, or execute an app.run(), or execute TriggerEnabling(), the Office add-in restarts and loads all over again. At first I thought that it may be something in my add-in, but I even tested it with the default ExcelWebAddin.sln, and it restarts that also. Is there a way to keep the re-loading of the add-in to happen for those VSTO calls to Excel.
I have a VSTO add-in for Excel that automates PowerPoint, creating new presentation documents and generates slides and other content based on the data in the current Excel workbook. (Using the Primary Interop Assemblies, it creates a new instance of the PowerPoint Application, adds a new Presentation object, Slide objects etc.)
Is it possible for a new Office Add-in to do this so it would run in Excel online, on the Mac, and so on?
It looks like I can get the context of the Office application I'm currently in (e.g. Excel), but I don't see how I can reference the PowerPoint object model, or automate anything outside of Excel itself.
Is this what Microsoft means when it says to create a VSTO add-in
"...or to extend Office 2013 and Office 2016 beyond what's possible
with Office add-ins. VSTO add-ins run only on the desktop."
rather than building a new JavaScript/HTML Office Add-In?
Thanks.
No, it is not possible. Web add-in are on different platforms like Mac where the COM automation technology doesn't exist.
Instead, you may consider using the Open XML SDK instead for generating PowerPoint files on the fly from your Excel web add-in. See Welcome to the Open XML SDK 2.5 for Office for more information.
I have a user with a brand new machine with Win 7 x64 SP1 (6.1.7601), downgraded from Win 8, on it plus Office 365 Small Business Premium with PowerPoint 2013 32 bit (15.0.4649.1000).
I am debugging a PPAM add-in and have narrowed it down to a very bizarre situation I've never seen before:
Create a new PowerPoint file
Open the VBE, insert a module and add a one line sub as below
Save it as a PPAM
Load the PPAM add-in and see the message
Close PowerPoint
Open PowerPoint and it crashes with the message "Microsoft PowerPoint has stopped working" and the sub-text "A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."
I kill PowerPoint and when running again am asked the usual question if I want to disable the "offending" add-in
What on earth can cause such behaviour? No other PPAM add-ins are running and I have tried with all COM add-ins disabled and with running powerpnt /safe
My one line test sub inside the PPAM:
Sub Auto_Open()
MsgBox "It works"
End Sub
Btw, the full (and very complex) add-in works perfectly when loaded in its source PPTM form.
Badly written COM add-ins can cause this kind of thing, where PPT crashes at shutdown or startup and points the Fickle Finger of Blame at whatever PPA/PPAM add-in is closest at the time.
I'd have them disable any COM add-ins other than the MS-supplied ones, which I've never run into any troubles with, then try again.
The "Win7 downgraded from Win8" bit makes me nervous too, but I can't toss any experientialia at you about it.
I guess you already asked if they have Kaspersky?
Do they have any other ppa / ppam add ins (maybe hidden one from HKLM
I have developed add-in for outlook 2007.
I need to adjust the add-in code to outlook 2013, is there any migration tool / any other way to do this?
There is very little you would actually need to change. Your Outlook 2007 Object Model code should work the same in 2013.
The main thing you would need to change is your Outlook 2007 code that adds buttons to the Toolbar (CommandBar), so that it displays buttons in the Outlook 2013 Ribbon. See the Ribbon Overview page on MSDN for more info.
I wrote an Excel VBA add-in over ten years ago, which uses the old Commandbars to put a menu in Excel's Tools menu (in Excel 2003 and earlier) or in Excel's Add-Ins tab (in Excel 2007 and later). I've never had a problem with the menu appearing, in all versions of Excel from 97 through 2013.
But now a user says Excel Add-Ins menu not appearing for him in Excel 2013. Normally that means the add-in isn't loaded, but in his case the add-in is loaded and working. We know the add-in is loaded and working because the add-in adds user-defined worksheet functions, and those UDFs are working fine for him. But he wants to get to the add-in's menu and can't.
My googling showed that some people are having trouble with the Add-Ins menu in 2013, but I didn't find anything specific to this problem.
Yes, he's tried enabling the Add-Ins tab in Excel Options > Customize the Ribbon.
BTW this is an .xla add-in, not a COM add-in.
Any suggestions?
I have Excel 2010 and had the add-in tab disappear for MrExcel HTML add-in. I tried all types of suggestions - and finally found one that worked for me!
Go to the add-ins folder where you have your add in saved. Right click on the file, and select Properties. At the bottom of the General tab - if it says "Security" - check on the "Unblock" option.
Voila! My add-ins never disappear anymore!
Solved:
Solved this now but really weird solution if you enabled the Add-in whilst the Analysis ToolPaks were enabled it'd have the issue you above, but if you enabled the Add-in whilst the Analysis ToolPaks weren't ticked then went back in to it and re-ticked the Analysis ToolPaks it'd be fine and wouldn't disappear!
Was an extremely strange issue!
See Spiceworks
As far as I understood this is a problem with Excel 2013 (another attempt of the guys at Redmond to make our lives miserable with every update of their products). The workaround I've found is to include the following code into the ThisWorkbook module of the Addin:
Private Sub Workbook_Open()
Workbook_AddinUninstall
Workbook_AddinInstall
End Sub
Cheers!
I had similar issue with excel 2013. Add-in tab was missing. I went to Developer>>>Add-Ins and deselected the add-in I wanted. Click OK then repeat the process and select the same add-in. Click OK. The Add-In tab should appear.
See also https://www.excelcampus.com/vba/add-in-ribbon-disappears/
As of july 2016 the security settings in Excel disable the add-ins in the old default location. THe website shows how to set the directory to trusted status
I had a similar problem where two .xlam files that loaded and appeared in custom ribbon tabs in Excel 2010 didn't show up in the ribbon in Excel 2013 even though they were loading each time a workbook was opened. I tried all sorts of solutions - disabling the Analysis Toolpack, disabling and enabling the .xlam files, making sure the .xlam's attached XML file was up to date (I was thinking an MSO image I had in the XML code was no longer available in Excel 2013), but nothing worked. I eventually tried copying and renaming the .xlam file and enabled it in Excel and, strangely, it appeared in the ribbon.
I have no idea why it needed to be copied and renamed - it's almost like Excel 2013 needed a fresh copy of the .xlam file before it could show up. Very weird!
I've been looking for this answer for a LONG time and the previous code worked, but, for me, only with Workbook_Open() instead of Thisworkbook_Open()
Private Sub Workbook_Open()
Workbook_AddinUninstall
Workbook_AddinInstall
End Sub
Thanks for finding this!
I disabled the add-ins via the Developer tab, and then enabled them via File>Options>Add-Ins>Manage Add-Ins.
Voila!
You can Try by disabling macros with notification. (tried on 2016)
File->options->trust center->macro settings-> tick disable all macros with notification
It worked for me .
If I disabled and enabled, I could get the Add-Ins tab to appear, but every time I opened a document I had to repeat. This seemed to fix it for me:
File > Options > AddIns > Choose "XML Expansion Packs" > Go > Select "Microsoft Action Pane 3" > Attach > Ok
I have had similar problems with Excel 2016 (not with 2010 and 2017), and very strangely it was solved this way :
1) Desactivating the add-in
2) Quitting Excel
3) Activating the add-in
4) Going to File > Close (in French version : Fichier > Fermer)
And when I click "Close" the "Components" menu suddenly appear in Excel 2016 !
Good luck !
Had a similar problem in Excel 2010. Tried all the suggestions above, but to no avail. In the end it turned out that even though it was an .xll add-in, it somehow also was listed as a COM add-in. So going to File > Options > Add-In, then selecting Disabled Items from the list at the bottom of that window and enabling the add-in, worked for me. Now in the list of Active Application Add-ins it shows both the original Excel Add-in, and the unexpected COM add-in without location. Oh, and the tab is back of course. Go figure.