For security reasons, new builds of Microsoft Office for Office 365 on Windows block activation of VBScript controls. Most users won't be impacted, but some users may see this runtime error when they try to use an add-in or VBA solution that depends on VBScript: 

'380' - 'A script engine for the specified language cannot be created.'

 

You can unblock this control by using the registry key in the attached zip package.

  1. Exit your Office applications
  2. Download the EnableVBScriptControls.zip package to your local machine
  3. Double-click the zip package to expand it
  4. Double-click the registry file EnableVBScript
  5. Click Yes to the User Account Control dialog “Do you want to allow this app to make changes to your device”
  6. Click Yes to the warning about Adding information
  7. Click OK to the confirmation that the keys and values have been added

 

You can now use VBScript controls in your Office applications.

 

For more information, please see: VBScript controls blocked in Office 365 client applications

HTML
Edit|Remove
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Common\COM Compatibility\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}]  
"Compatibility Flags"=dword:0  
"ActivationFilterOverride"=dword:1  
  
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\16.0\Common\COM Compatibility\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}]  
"Compatibility Flags"=dword:0  
"ActivationFilterOverride"=dword:1  
 
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Common\COM Compatibility\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}]  
"Compatibility Flags"=dword:0  
"ActivationFilterOverride"=dword:1  
  
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\16.0\Common\COM Compatibility\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}]  
"Compatibility Flags"=dword:0  
"ActivationFilterOverride"=dword:1  
 
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Common\COM Compatibility\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}]  
"Compatibility Flags"=dword:0  
"ActivationFilterOverride"=dword:1  
  
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\16.0\Common\COM Compatibility\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}]  
"Compatibility Flags"=dword:0  
"ActivationFilterOverride"=dword:1