I manage an Excel 2007 sheet using SQL, using the following connection string:
Provider=Microsoft.ACE.OLEDB.12.0;Data Source='Invoice.xlsm';Extended Properties='Excel 12.0;IMEX=1;HDR=Yes'
Everything works just as it should apart from the Delete statement.
When I try to perform Delete From [tablename$] where code like '1')
, I get an error -2147467259 (80004005)
.
I can't explain it, since all the other select and insert statements work just fine.