I get VBScript errors when I run my script
If a VBScript message is displayed when you run a script, your script probably has a VBScript problem, such as a syntax error.
For more information about VBScript, see the VBScript user's guide and reference guide on the Microsoft MSDN website. At the time of writing this topic, the button that follows opens the VBScript section of the Microsoft MSDN website
For more information, see How Do I Debug My Scripts.