Avatar of HyperBPP
HyperBPP
 asked on

Using T-SQL openrowset with Excel 2007

I'm using openrowset with MS SQL Server 2005 to update data in and excel spreadsheet (.xls).  However, I'm unable to do this to an excel 2007 spreadsheet (.xlsx).  Is this supported?  Do I need to adjust something in the OPENROWSET function params?  Like change Excel=8.0 to something?

UPDATE...
...OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'Excel 8.0;Database=C:\Documents and Settings\ttalbott\Desktop\NT CBA\2009IIllustrative .xlsx;',
'SELECT Bin, .....
Microsoft SQL Server 2005Microsoft Excel

Avatar of undefined
Last Comment
HyperBPP

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Daniel Wilson

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
HyperBPP

ASKER
'bout time, I know, I know.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy