Vbs script problem
If excel is not installed or excel is a green version, the running script will say that the object cannot be created. It doesn't seem to come from above.

Give you a vbs error comparison table

Microsoft VBScript language? Error (0x800a03e9)- > Out of memory

Microsoft VBScript language? Error (0x800a03ea)- > language? mistake

Microsoft VBScript language? Error (0x800a03eb)- > Missing ":"

Microsoft VBScript language? Error (0x800a03ed)- > missing "("

Microsoft VBScript language? Error (0x800a03ee)- > Missing ")"

Microsoft VBScript language? Error (0x800a03ef)- > Missing "]"

Microsoft VBScript language? Error (0x800a03f2)- > Missing identifier

Microsoft VBScript language? Error (0x800a03f3)- > Missing "="

Microsoft VBScript language? Error (0x800a03f4)- > Missing "If"

Microsoft VBScript language? Error (0x800a03f5)- > Missing Recipient

Microsoft VBScript language? Error (0x800a03f6)- > missing "End"

Microsoft VBScript language? Error (0x800a03f7)- > missing "function"

Microsoft VBScript language? Error (0x800a03f8)- > Missing "Sub"

Microsoft VBScript language? Error (0x800a03f9)- > missing "Then"

Microsoft VBScript language? Error (0x800a03fa)- > missing "Wend"

Microsoft VBScript language? Error (0x800a03fb)- > missing "loop"

Microsoft VBScript language? Error (0x800a03fc)- > Missing "Next"

Microsoft VBScript language? Error (0x800a03fd)- > missing "Case"

Microsoft VBScript language? Error (0x800a03fe)- > Missing Selection

Microsoft VBScript language? Error (0x800a03ff)- > missing expression

Microsoft VBScript language? Error (0x800A0400)-> missing statement

Microsoft VBScript language? Error (0x800a 040 1)- > statement not completed.

Microsoft VBScript language? Error (0x800A0402)-> missing integer constant.

Microsoft VBScript language? Error (0x800A0403)-> missing "While" or "Until"

Microsoft VBScript language? Error (0x800A0404)-> > Missing "While", "Until" or incomplete statement.

Microsoft VBScript language? Error (0x800A0405)-> missing "With"

Microsoft VBScript language? Error (0x800A0406)-> identifier is too long.

Microsoft VBScript language? Error (0x800A0407)-> invalid number

Microsoft VBScript language? Error (0x800A0408)-> invalid character

Microsoft VBScript language? Error (0x800A0409)-> incomplete string constant

Microsoft VBScript language? Error (0x800a40a)- > comment not completed.

Microsoft VBScript language? Error (0x800a040d)- > invalid use of "Me" keyword.

Microsoft VBScript language? Error (0x800a040e)-> Loop' statement is missing' do'

Microsoft VBScript language? Error (0x800a040f)- > invalid "exit" statement.

Microsoft VBScript language? Error (0x800A0410)->-> The "for" loop control variable is invalid.

Microsoft VBScript language? Error (0x800a 04 1 1)- > redefinition of name

Microsoft VBScript language? Error (0x800a0412)->-> must be the first statement in this line.

Microsoft VBScript language? Error (0x800a0413)->-> Cannot assign values to non-ByVal parameters.

Microsoft VBScript language? Error (0x800A0414)->-> You cannot use parentheses when calling a subroutine.

Microsoft VBScript language? Error (0x800a0415)->-> Missing literal constant.

Microsoft VBScript language? Error (0x800a0416)->-> Missing "in"

Microsoft VBScript language? Error (0x800a0417)->-> Missing "class"

Microsoft VBScript language? Error (0x800a0418)->-> must be defined in the class.

Microsoft VBScript language? Error (0x800A0419)->-> Missing Let, Set or Get in attribute declaration.

Microsoft VBScript language? Error (0x800a041a)->-> Missing Attribute

Microsoft VBScript language? Error (0x800a041b)->-> The number of variables must be consistent in the specifications of all attributes.

Microsoft VBScript language? Error (0x800A041c)->-> Multiple default properties/methods are not allowed in a class.

Microsoft VBScript language? Error (0x800A041d)->-> Class initializer or terminator has no parameters.

Microsoft VBScript language? Error (0x800a041e)->-> attribute Set or let must have at least one parameter.

Microsoft VBScript language? Error (0x 800 a 04 1F)->)- > Wrong "Next"

Microsoft VBScript language? Error (0x800A0420)-> Default can only be specified in Property, Function or Sub.

Microsoft VBScript language? Error (0x800a 042 1)- > when "Default" is specified, "Public" must also be specified.

Microsoft VBScript language? Error (0x 800 a 0422)-> Default' can only be specified in the attribute Get.

Microsoft VBScript runtime error (0x800A0005)-> invalid procedure call or parameter.

Microsoft VBScript runtime error (0x800A0006)-> overflow

Microsoft VBScript runtime error (0x800A0007)-> out of memory

Microsoft VBScript runtime error (0x800A0009)-> subscript out of bounds

Microsoft VBScript runtime error (0x800A000a)- > array is fixed length or temporarily locked.

Microsoft VBScript runtime error (0x800a00b)-> divide by zero

Microsoft VBScript runtime error (0x800a00d)-> type mismatch

Microsoft VBScript runtime error (0x800a00e)- > insufficient string space.

Microsoft VBScript runtime error (0x800a 00 1 1)- > unable to perform the required operation.

Microsoft VBScript runtime error (0x800a001c)->-> stack overflow.

Microsoft VBScript runtime error (0x800A0023)-> no procedure or function defined.

Microsoft VBScript runtime error (0x800A0030)-> error loading DLL.

Microsoft VBScript runtime error (0x800A0033)-> internal error

Microsoft VBScript runtime error (0x800A0034)-> wrong file name or number.

Microsoft VBScript runtime error (0x800A0035)-> file not found.

Microsoft VBScript runtime error (0x800A0036)-> error file mode

Microsoft VBScript runtime error (0x800A0037)-> file has been opened.

Microsoft VBScript runtime error (0x800A0039)-> device I/O error

Microsoft VBScript runtime error (0x800a03A)- > file already exists.

Microsoft VBScript runtime error (0x800a03d)- > disk full

Microsoft VBScript runtime error (0x800a03e)- > input beyond the end of the file.

Microsoft VBScript runtime error (0x800A0043)-> > Too many files.

Microsoft VBScript runtime error (0x800A0044)-> device unavailable.

Microsoft VBScript runtime error (0x800A0046)-> no permission.

Microsoft VBScript runtime error (0x800A0047)-> the disk is not ready.

Microsoft VBScript runtime error (0x800a04a)-> rename without using another drive letter.

Microsoft VBScript runtime error (0x800a004b)- > path/file access error

Microsoft VBScript runtime error (0x800a04c)- > path not found.

Microsoft VBScript runtime error (0x800a005b)- > object variable not set.

Microsoft VBScript runtime error (0x 800 a05c)-> For loop not initialized.

Microsoft VBScript runtime error (0x800a05e)- > invalid Null.

Microsoft VBScript runtime error (0x800a 0 142)- > unable to create the required temporary file.

Microsoft VBScript runtime error (0x800a 0 1a8)- > Missing object

Microsoft VBScript runtime error (0x800a 0 1ad)-> ActiveX widget cannot create object.

Microsoft VBScript runtime error (0x800a 0 1ae)- > class does not support automation.

Microsoft VBScript runtime error (0x800a 0 1b0)- > file name or class name not found in automation operation.

Microsoft VBScript runtime error (0x800a 0 1b6)- > object does not support this attribute or party?

Microsoft VBScript runtime error (0x800a 0 1b8)- > automation operation error

Microsoft VBScript runtime error (0x800a 0 1bd)- > object does not support this operation.

Microsoft VBScript runtime error (0x800a 0 1be)- > object does not support named parameters.

Microsoft VBScript runtime error (0x800a 0 1bf)- > object does not support the current locale.

Microsoft VBScript runtime error (0x800a 0 1c0)- > named parameter not found.

Microsoft VBScript runtime error (0x800a 0 1c 1)- > parameter required.

Microsoft VBScript runtime error (0x800a 0 1c2)- > wrong number of parameters or invalid parameter attribute values.

Microsoft VBScript runtime error (0x800a 0 1c3)- > object is not a collection.

Microsoft VBScript runtime error (0x800a 0 1c5)- > the specified DLL function cannot be found.

Microsoft VBScript runtime error (0x800a 0 1c7)- > code resource locking error

Microsoft VBScript runtime error (0x800a 0 1ca)- > this variable uses an automation type that VBScript does not support.

Microsoft VBScript runtime error (0x800a 0 1ce)- > the remote server does not exist or is unavailable.

Microsoft VBScript runtime error (0x800a 0 1e 1)- > invalid picture.

Microsoft VBScript runtime error (0x800a 0 1f4)- > variable undefined.

Microsoft VBScript runtime error (0x800a 0 1f5)- > No? assess

Microsoft VBScript runtime error (0x800a 0 1f6)- > unable to program objects safely using scripts.

Microsoft VBScript runtime error (0x800a 0 1f7)- > unable to initialize the object safely.

Microsoft VBScript runtime error (0x800a 0 1f8)- > unable to create the object safely.

Microsoft VBScript runtime error (0x800a 0 1f9)- > invalid or unqualified reference.

Microsoft VBScript runtime error (0x800a 0 1fa)- > class not defined.

Microsoft VBScript runtime error (0x800a 0 1fb)- > An unexpected error occurred.

Microsoft VBScript runtime error (0x800a 1398)- > missing regular expression object.

Microsoft VBScript runtime error (0x800a 1399)- > regular expression? mistake

Microsoft VBScript runtime error (0x800a 139a)- > quantifier error

Microsoft VBScript runtime error (0x800a 139b)->]' is missing in the regular expression.

Microsoft VBScript runtime error (0x800a 139c)- >) is missing in regular expression'.

Microsoft VBScript runtime error (0x800a 139d)- > Character set out of bounds.

Microsoft VBScript runtime error (0x800A802B)-> element not found.

ActiveServerPages,ASP 0 126(0x 80004005)-& gt; The include file could not be found.

Microsoft OLEDBProviderforODBCDrivers(0x 80040 e 14)-& gt; Error in sql statement (incorrect field name or data type mismatch)

Microsoft OLEDBProviderforODBCDrivers(0x 80040 e07)-& gt; Error in sql statement (field type to be inserted or updated does not match variable data type)

Microsoft OLEDBProviderforODBCDrivers(0x 80040 e 57)-& gt; Error in sql statement (data to be inserted or updated overflows)

Microsoft OLEDBProviderforODBCDrivers(0x 80040 e 10)-& gt; Error in sql statement (update field name or data type of the error to be updated)

Microsoft OLEDBProviderforODBCDrivers(0x 80004005)-& gt; Error in sql statement (field value to be inserted or updated cannot be empty)

Microsoft OLEDBProviderforODBCDrivers(0x 80004005)-& gt; Error opening database. The database could not be found in the specified directory.

Microsoft OLEDBProviderforODBCDrivers(0x 80040 e 37)-& gt; Could not find the form.

odbc drivers(0x 80040 e 2 1)-& gt; Errors in sql statements (tables/fields with mismatched data types or errors are either being edited or do not exist in the database opened by conn).

ADODB。 Recordset (0x800a0bb9)->; Error in sql statement (sql statement or conn statement is not defined, or there is an error in assigning rs attribute).

ADODB。 Recordset (0x800a0cc1)-> Error in rs object (the rs object itself does not exist or incorrectly refers to a field name that does not exist)

ADODB。 Recordset (0x800a0bcd)->; Rs object matching error (there are no records in the recordset, but the recordset is manipulated)

ADODB。 Recordset (0x800a0e78)->; Error in rs object (recordset does not exist, rs.open statement is missing)

ADODB。 Recordset (0x800a0cc1)-> Error in rs object (referring to non-existent field name)

ADODB。 Recordset (0x800a0e7d)->; Connection definition error

ADODB。 Recordset (0x800a0cb3)->; The database is opened as read-only. update data

ADODB。 Recordset (0x800A000d)-> Wrong reference to rs variable (rs object is closed or undefined)