I have a VB.NET 2005 windows app that needs to read from and modify data in a password-protected Excel spreadsheet. I've done some googling and have modified my connection string according to my findings, but I still get an OleDB exception stating "Could not decrypt file."
Here's my connection string...
"provider=Microsoft.Jet.OLEDB.4.0; data source = '" & strExcelFilePath & "'; Jet OLEDB
atabase Password=test; Extended Properties=Excel 8.0;"
Am I missing anything in the connection string (I have verified the password)? Any help would be greatly appreciated. Thanks.
Here's my connection string...
"provider=Microsoft.Jet.OLEDB.4.0; data source = '" & strExcelFilePath & "'; Jet OLEDB
Am I missing anything in the connection string (I have verified the password)? Any help would be greatly appreciated. Thanks.