I have a Surface Pro 4 running Windows 10 and Office 2016, but whenever I go in to VBA (tested in Word, Excel, Outlook and PowerPoint) and add a UserForm, the application crashes every time.
The (empty) Toolbox turns opaque and I get this error:
What's really annoying is that if I try to debug (Visual Studio 2013), it will work.
This happens with both new (blank) files and existing ones with VBA projects in them. In the latter case, the program will also crash when an existing userform is displayed by the VBA code.
We have a number of macro-driven Excel files and Word documents that I wrote but now can't use because of this.
I've tried the files on other computers (including those running Windows 10) and they work fine.
Any help appreciated.
***Post moved by the moderator to the appropriate forum category.***