Unwanted excel add-in loads but no trace of it anywhere - excel

When loading Excel2013, an old add-in continues appearing in the tabs, although not requested
The add-in does not appear in VBA projects nor in any file in Office or Users folders
The add-in does not show in Excel options add-ins list
I wonder from where Excel loads it and looks for a way to get rid of it
Thanks
Avi

If this is a "phantom toolbar/menu" appearing in the addins tab you can remove it by right-clicking it and choosing delete.
Also make sure you have checked the COM addins list as well as the Excel addins list.

Related

CustomUI ribbon customization disappears on save?

I've created an Excel workbook for a client of mine which uses a custom ribbon tab to access the VBA functionality. It thus contains a customUI.xml file with the extra ribbon code in it (by using the Custom UI Editor tool). By now, all was working well for over a year.
However, a few days ago the ribbon customizations keep disappearing after he makes a simple modification to the file and saves it again. Nothing fancy; just change some cell values and ctrl-s save. When opening the saved version the ribbon doesn't show up, and on closer inspection it turns out the ribbon customization is completely gone from the file at that point (the entire root customUI folder is gone and the reference to it from the _rels.rels file is gone too). He's just a regular Excel user, so he doesn't even know about Office custom UI ribbon xmls etc, so it's not that he has been messing with tools he shouldn't have messed with. When I open a working copy of the file on my machine and save it, the ribbon remains in place.
The VBA is still intact though, and the listobject tables that are placed on some sheets are still there too, so it can't be because it got intermediately saved in 2003 format or such...
The file does live in a Sharepoint and OneDrive environment, but IIRC he also had this problem when retrieving a working backup of the file, placing it on his desktop and making a modification from there. Then again a few months ago his IT administrator has moved his company over to Office 356 and migrated his files to the cloud, so it might well be his desktop is on OneDrive too.
What could cause a perfectly fine ribbon to disappear like that? A rogue Office update? Or some Sharepoint 'security' feature to remove ribbons on save? (note that I'm not well known with Sharepoint so this is just wild speculation.) He's using Office 365, so I presume he's on Excel 2019 (as am I).
All leads are welcome, because I'm at a total loss here...

Cant have a Excel Add in as a separate tab from an enabled COM Add in

Currently I have an Excel Add In in Excel 2016 called 'Excel Image Assistant' (https://excel-image-assistant.com/). This is an excel add-in currently enabled on my excel and appears under a tab on the ribbon as Add-Ins.
I have developed a VSTO Add In which I want to install on my machine and enable this personalized bespoke ribbon. It installs perfectly fine, however when I enable this COM add in. The items from the excel add in now appears in my COM ADD IN ribbon.
I want to treat these as two different tabs but it seems as though the excel add in is conflicting with the VSTO COM Add In.
So you can only have one or the other enabled to see the add in Excel but if you have both enabled the Excel Add in is put in my COM add in.
Is this in the VSTO Code that could be causing this? Or this is something in Excel settings wise that may need to be adjusted to allow both of these to be enabled as different tabs in the ribbon as i need them treated seperately.

.xlam add-in does not work on other computers giving two workbooks with the same name error

I created 2 simple macros just to delete some columns and sort the data on Excel. It does not open a file, just works on the active workbook. I saved the macros as .xlam add-in to distribute other team mates.
I also created a custom Ribbon menu. In the ribbon menu I created 2 buttons and assigned my macros one by one. Now, on my computer, when I click on the button in the Ribbon menu, it calls the macro and the macro works perfectly.
When I add the same add-in to my friends' computers it imports the add-in succesfully. It creates a local copy under Add-In file as well.
When it comes to run the macros, however, it gives the following error ""Sorry, excel can't open two of the same workbooks at the same time".
No need to say there is not 2 workbooks with the same name, there is even no other workbooks opened. What could be the problem? Since it is not code related (at least it seems like) I don't share any code here. If you want I can, however, I receive the error as soon as I click on the button in the ribbon menu on my friends' computers. (FYI I created ribbon menu at my friends' computers as well.)
Any help will be appreciated.
I was able to resolve this issue by removing all of the menu items associated with the add-in (do so by customizing the ribbon) and then rebuilding the menu items. In my situation the location of the add-in changed resulting in a path issue.

How do I share a VBA excel function within a team

I've written my first VBA Excel function, ConvertFromUSD(amount,currencyname,year), which uses an excel spreadsheet to look up an exchange rate from US Dollars to a specified currency for a specified year, and returns the converted sum.
It seems to work fine, and I've made it into an Add-in that I can use whenever I start a new spreadsheet or edit an existing one.
Now I want to make this add-in available to a couple of dozen other people in my team, but I can't see how to do it; should I send the .xla to each of them and get them to install it (if so, how?), or can I put it somewhere where their excel applications will automagically find it?
Thanks for your help.
If they just double click the .xla file it should work for them. It will probably disappear as soon as they close excel though.
The quick way to get it to stick around:
enable their "Developer"
tab
Navigate to the Developer tab
Click "Add-ins"
"Browse" to the .xla file
Ensure that it's "Checked" in the list
There is a folder where they will be displayed in the "Add-in" dialog automatically without browsing, but it depends on the version of excel. 2010, for instance, is C:\Program Files\Microsoft Office\Office14\Library.

VBA created with Excel 2003 loaded OK in Excel 2007, but there's nothing in Project tree of VB editor

I have created a VBA in excel 2003 and save it in xla format. This AddIn add a new menu and some submenu in toolbar of Excel. All work well until I upgrade to Office 2007, then I open the xla file. No error message shown, but when I view the macro List, no items there. I open the Visual Basic editor. My old Project (named ML) is still there, but nothing in the Project tree, just default files as when add a new blank project.
I open the xla file with notepad, and my variable, function name are still there. Anyone has experience in this weird behavior, please give me a clue.
Thanks in advance.
Toolbar add-ins generally appear in the add-ins tab of the ribbon in Excel 2007. Make sure you have the add-ins tab displayed (if not you can turn it on under excel options).
If that still isn't working you'll need to go online and read up on altering the code to conform to the ribbon - there are a lot of resources out there should you need to do this.

Resources