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
 General SQL Server Forums
 Script Library
 import multiple Excel 2007 files using openrowset

Author  Topic 

ingib
Starting Member

5 Posts

Posted - 2010-09-08 : 09:55:02
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 -