“Compile error: Method or data member not found” with previously working code

蹲街弑〆低调 提交于 2019-12-13 04:25:10

问题


As the title suggests, I'm getting the above error with code that was working 6 days ago.

Code since omitted - apologies

DurationCombo is an ActiveX ComboBox which resides on Sheet1.

I can provide an image of the ComboBox: http://i.stack.imgur.com/eM7YD.png

I've seen all of the information regarding the Microsoft Updates and removed the anomaly yet this problem has since returned.

EDIT: I am also unable to add ActiveX controls to any Excel workbook. Bizarre, this one is!

EDIT 2: It may be an option to move from ActiveX controls to Form ComboBoxes. However, I have issues when converting. Any help with this would also be great - if it's possible!


回答1:


I had a similar problem and used Microsoft Fix it 51029 mentioned here:

ActiveX




回答2:


Got rid of KB2553154 (installed 11th February 2015) and success! Good luck to anyone else with this issue. My recommendation would be to research and uninstall any suspect Microsoft updates. That's the only thing that solved it for me (twice).



来源:https://stackoverflow.com/questions/28484143/compile-error-method-or-data-member-not-found-with-previously-working-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!