SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Script Library
 import multiple Excel 2007 files using openrowset
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ingib
Starting Member

5 Posts

Posted - 09/08/2010 :  09:55:02  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000