Home > Software engineering >  There is an error in the VBA script engine for the specified language can not be created
There is an error in the VBA script engine for the specified language can not be created

Time:09-17

Run the following statement in the second row errors: runtime error 380: the script engine for the specified language can not be created
Do not have this problem before,, there is no change program, what is this

The Set VBS=CreateObject (" MSScriptControl. ScriptControl)
VBS. Language="script"

CodePudding user response:

I test here, completely normal,

CodePudding user response:

The same statement, the original no problem, now has become the problem

CodePudding user response:

Environment where you need to set up

CodePudding user response:

This has nothing to do with "setup" environment, COM objects are created successfully...
However, the meaning of the error message, "unable to create the" designated language script engine, don't know what is system lacks the DLL,
You can have a try, use notepad to write some simple VBS code, and see if I can succeed,

reference keyi_655 reply: 3/f
is the environment where you need to set up

CodePudding user response:

ScriptControl tends to be a lot of "security software" as unsafe library, and may be disabled or deleted, check is certain the software installed on your computer,
  •  Tags:  
  • VBA
  • Related