It's not like you can't open this file up right now and read it. Protected
files can be opened and read by Excel, but I want to be able to do this in
Access. My workaround is to open the file and copy the contents into an
unprotected Excel file and use that file in my database. I just wanted to be
able to read that file directly instead of having to do that manual step.
Unless jthere is a way to do that programatically?
You *do* need the password to "open this file right now and read it",
do you not!? It sounded like you wanted to simply bypass security
altogether and open the spreadsheet, without knowing the password.
It should be possible to specify the password in an ADO Connection
object, linking to the spreadsheet, but I can't recall just how.
John W. Vinson[MVP]