I am having a very frustrating problem that presented itself yesterday when I added a line of code to a VBA workbook I was building. Basically, the workbook I am working on is a request form, full of ActiveX controls that a user inputs data into. There is also an option to attach files. When the form is submitted, it sends a PDF copy of the form/data and all attachments to a pre-determined list of people via Outlook. The coding/macros are not the problem. I entered one line of code that locked up Excel and disabled ActiveX as a result (OLE Control Extension). I have tried literally everything to get it to work again, including rebuilding the entire form in a new workbook to no avail. The issue still persists. I have removed the line of code that caused the problem in the first place, and that line of code never existed in the workbook I am currently trying to use.
Here is a copy of the error log from when Excel locked up and disabled ActiveX in the first place:
"http://schemas.openxmlformats.org/spreadsheetml/2006/main">error168360_01.xmlErrors were detected in file --filename removed--/Form.xlsm'Removed Feature: Object from /xl/workbook.xml part (Workbook)Removed Feature: OLE Control Extension from /xl/workbook.xml part (Workbook)
Issue behavior: all of the ActiveX controls in my workbook are unusable. When I click in Text Boxes there is no cursor. If I type, and change the focus to a different Text Box, whatever I typed will show up, but not in real time. Command Buttons do nothing. No action is taken whatsoever when I click on Command Buttons.
Things I have tried so far:
1.) Rebuilding the workbook from scratch -- Result: issue persists
2.) Resetting ActiveX settings in Trust Center -- Result: issue persists
3.) Deleted registry key at Software\Microsoft\Office\16.0\Excel -- Result: issue is corrected, but reappears within 2 minutes (weirdest behavior I have ever seen)
4.) Started Excel in safe mode -- Result: issue gone sometimes, issue persists sometimes.. which is also odd..
5.) Deleted all .exd files from TEMP folders and rebooted computer -- Result: issue persists. No change.
ISSUE SOLVED: SEE MY LAST REPLY.
If anyone has any idea how I can possibly get the "OLE Control Extension" working again I would be so so so grateful. I am pulling what little hair I have left, out, over here.
Thanks.