A couple of months ago, in early April, the first reports of “unresponsive”, “blank” toolwindows of MZ-Tools 8.0 for VBA started to arrive. The toolwindows appeared without content and clicking the Close button did nothing. Something like this:
MZ-Tools uses toolwindows for many features such as Method Callers, Review Quality, etc. and the Find Text feature and all of them were affected.
At first I didn’t pay much attention because some users were not able to reproduce the problem, or solved it reinstalling or updating Office. Also, MZ-Tools has tons of users and if the problem was general I would have received tons of bug reports, not two or three.
But some more reports arrived in May and then I decided to investigate. A common pattern emerged:
- The problem happened always with Office 2016, not with older versions.
- The problem happened with Word 2016 and PowerPoint 2016 but never with Access 2016 or Excel 2016 (except one case using the Insiders version of Excel, not the regular one). That explained why I didn’t receive tons of bug reports: Excel and Access are the most used Office applications with MZ-Tools and were not affected.
- Users found a workaround: to dock the toolwindow to some other window (so it was no longer floating), which showed the content inside, and to make it floating again. The problem would happen again in the next session, though.
At first I was not able to reproduce the problem because I was using Excel or Access but as soon as I tested with Word I was. I knew that the problem hadn’t happened until April, otherwise somebody using Word or PowerPoint would have reported it in the last couple of years.
Also I tested with old versions of MZ-Tools 8.0 for VBA (even the first betas of 2015) and the problem was reproduced, so it was not some bug introduced by a recent build of MZ-Tools 8.0.
Yesterday I tested with other third party .NET-based add-ins for the VBA editor and the problem was reproduced. And I tested with the old MZ-Tools 3.0 for VBA (which doesn’t use .NET usercontrols inside toolwindows but ActiveX userdocuments created with VB6) and the problem was reproduced. So it was not a .NET-related problem. It was Office. And to my surprise, I was able to reproduce the problem with no add-in at all, just using the built-in Project Explorer of the VBA editor in floating state rather than in the usual docked state:
- Update to some recent version of Office 2016 (1804 or 1805)
- Drag the Project Explorer to floating state
- Close it
- Close the VBA editor and Word 2016
- Start again Word 2016 and the VBA editor
- Click the button on the toolbar to show the Project Explorer
The Project Explorer toolwindow should appear floating but blank.
Note: you many need to try the whole procedure a couple of times if you have just upgraded or downgraded the version of Office.
Today I have downgraded Office 2016 to previous versions to find which one introduced the problem with the procedure explained at How to revert to an earlier version of Office 2013 or Office 2016 Click-to-Run. And it seems that the problem was introduced by:
Version 1803 (Build 9126.2116) (March 27)
The previous version:
Version 1802 (Build 9029.2253) (March 13)
seems to work fine (although when testing you need to try a couple of times after downgrading or upgrading, maybe because click-to-run upgrades in the background). The date (March 27) of the version 1803 which introduced the problem is consistent with the first bug reports appearing in early April.
I will report this problem to Microsoft. Until a fix arrives, if you are affected by this problem the best approach is to disable Office 2016 upgrades and to revert back to version 1802 (Build 9029.2253).
Update (August 1, 2018): the problem seems to be solved in Version 1807 (Build 10325.20082) (July 25)