Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 import multiple Excel 2007 files using openrowset

Author  Topic 

ingib
Starting Member

5 Posts

Posted - 2010-09-08 : 09:59:31
hello,

I Have a folder that includes multiple excle files (ver 2007), i am trying to loop through each file using vbscript to import its data to sql 2000 using openrowset

but i am getting this error in the openrowset line "[Microsoft][ODBC sql server driver] [sql server] [OLE/DB provider returned message: the microsoft office access DB engine cannot open or write to the file '', it is already open exclusively by another user or you need permission to view or write its data]

code 80040E14

source microsoft OLEDB provider for ODBC drivers

Any help please





   

- Advertisement -