So I recently got a new computer with a new installation of:
- Excel 2010 32-bit
- Windows 7 Professional 64-bit
There are several strange issues that are happening:
Many excel workbook created with activeX controls in the past now give me a compile error "object library invalid or contains reference to object definitions that could not be found" or some "can't exit design mode because Control 'CommandButton1' can not be created" error. The specific control that is not working is a simple CommandButton.
Any excel workbook created with activeX controls in the present do not have problems. Some older excel workbooks with activeX work, some do not.
Excel workbooks created in the past work fine on most other machines in our company network.
If a speadsheet with ActiveX controls is copy-pasted into a new workbook, the controls begin to work again.
If I click "view code" on the commandbutton, the VBA window will create new button code with a new subroutine name.
I know lots of questions have been asked about this subject but the solutions don't seem to be working for me.
- EXD files have been deleted.
- Microsoft office has been reinstalled
- Uninstalling Microsoft security updates isn't an option. Windows is fully updated to Dec 2016.
- A lot of old solutions are from 3-6 years ago and may be outdated.
- I've tried "save-as" on affected workbooks. This does not work.
Any help on this issue would be much appreciated!
MSCOMCTL.OCX
– cyboashu