Excel file permissions problem

  • Thread starter Thread starter Nikolay Petrov
  • Start date Start date
N

Nikolay Petrov

I have an Excel file, which I use to store some data.
When reading from file, everiting is ok.
When i try to insert some row, an OleDbExcetpion is thrown.
I'va tracked it to a permission problem.
The sheats of my Excel file as protected with password.
Any way I can supply this password to the connection string, or other way?

thanks
 
¤ I have an Excel file, which I use to store some data.
¤ When reading from file, everiting is ok.
¤ When i try to insert some row, an OleDbExcetpion is thrown.
¤ I'va tracked it to a permission problem.
¤ The sheats of my Excel file as protected with password.
¤ Any way I can supply this password to the connection string, or other way?

Unfortunately there is no support for working with native Excel password protection via OLEDB or
ODBC data access.


Paul
~~~~
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top