Hello,
I have Excel COM Add-in. This project is created on Visual Studio 2010, Excel 2007, .NET FrameWork 3.5.
This COM Add-in works with 32-bit Excel versions: 2007/2010/2013/2016. Recently my clients updated Excel to latest version(16.0.10730.20088) and it stopped properly working. This happen only with Excel 2016. Clients who are working with latest 2007/2010/2013 Excel version have no problems. Then I downgraded Excel version to: 16.0.10325.20082 it works normal, sadly a lot of clients already have Office 2016 and each started calling because after update project not working.
Adding pictures of different Excel 2016 versions below - to show what is not working, and will try to explain.
In project we have simple empty Form1 and UserForm which has menu, buttons, fields, grid and other stuff you can see in pictures bellow. On ThisAddIn_Startup we are putting UserForm on Form:
myControl = new UserControl1(); frmSarasai = new Form1(); frmSarasai.Controls.Add(myControl); myControl.Dock = DockStyle.Fill;
So after UPDATE for e.g: Panel, TabPage, and all items inside are blank and grey "like" empty form as you can see. Also Try Catch does not detect any issues and user does not receive any error. I will repeat: users with Excel 2007/2010/2013 working just fine! This is happen only for Excel 2016. The only solution for each user only to downgrade to any version below.
So I'm writing here, to find out how to fix this without making users back to older Excel versions?