I had the same problem VBA run time error 70
For me it was a settings in a Antivirus:
=> MalwareBytes\Settings\Security\Advenced Settings\
Application Hardening
Prevent loadin VB Script Library : MS Office <Off>!
May be it can help!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
BTW, my employer has an Office 365 licence, which is what I'm using. That option wasn't available in the dropdown .
What I'm trying to do: I have a userform combobox that I am trying to add some refined search functions to, but I don't know how to code VBA well enough to make that happen.
What I did: I copied some code from a forum and modified it to my userform and controls.
What happened: When I run the code, I get this error message -
When I click debug, it shows the highlighted line of code:
Any help would be very much appreciated.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
I had the same problem VBA run time error 70
For me it was a settings in a Antivirus:
=> MalwareBytes\Settings\Security\Advenced Settings\
Application Hardening
Prevent loadin VB Script Library : MS Office <Off>!
May be it can help!