P
Per
I am trying to get information about users from an excel file. i am having
problems with command execute. it worked perfectly before on my clients
older pcs which had office 2000 on but upgraded to 2007. now on a new
installed pc i get :"object required" when the script tries to execute the
command with the sql. I do not know where to start looking. what is missing?
The OS is win xp pro and Office is 2007
CODE: set conn= Createobject("ADODB.Connection")
sconn = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & sDBPath & ";" & _
"Extended Properties=""Excel 12.0;HDR=YES"""
conn.open sConn
sSQL = "Select * from [Login$]"
set rsUser = conn.Execute(sSQL)
this is not returning any rows but it did before.
problems with command execute. it worked perfectly before on my clients
older pcs which had office 2000 on but upgraded to 2007. now on a new
installed pc i get :"object required" when the script tries to execute the
command with the sql. I do not know where to start looking. what is missing?
The OS is win xp pro and Office is 2007
CODE: set conn= Createobject("ADODB.Connection")
sconn = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & sDBPath & ";" & _
"Extended Properties=""Excel 12.0;HDR=YES"""
conn.open sConn
sSQL = "Select * from [Login$]"
set rsUser = conn.Execute(sSQL)
this is not returning any rows but it did before.